Skip to content

EHTTP

HTTP exception class

Declaration

Source position: httpdefs.pp line 722

type

  EHTTP = class(Exception)
  public
    property StatusCode: Integer; {rw}
    property StatusText: string; {rw}
  end;

Description

EHTTP is an exception class for HTTP-related errors. It includes properties for HTTP status code and status text.

Properties

Member Visibility Description
StatusCode public HTTP status code of the error
StatusText public HTTP status text of the error
See all Properties

See also

Name Description
HTTPError Creates an HTTP error exception