Table of Contents

SendPageError Method

Renders a standard HTML error page on the response of the given handler. Used by the browser-facing endpoints (authorize, external callback) when there is no trusted redirect URI to report the error to.

Syntax

Unit: Sphinx.Endpoints.Utils

procedure SendPageError(Handler: TXDataRequestHandler; StatusCode: Integer; const Error: string; const ErrorDescription: string);

Parameters

<-> Parameter Type Description
Handler TXDataRequestHandler
StatusCode Integer
const Error string
const ErrorDescription string