Sign in Join
FPDoc Onlineexperiment

HTTPError type

In unit HTTPDefs

Creates an HTTP error exception

Declaration

pascal
HTTPError = EHTTP

Description

HTTPError creates an EHTTP exception with the specified status code and message. It provides a convenient way to raise HTTP-specific errors with proper status information.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.