Class PreconditionFailedHttpError

An error thrown when access was denied due to the conditions on the request.

Hierarchy

  • BaseHttpError
    • PreconditionFailedHttpError

Constructors

Properties

cause?: unknown
errorCode: string
message: string
name: string
stack?: string
statusCode: 412
isInstance: ((error: unknown) => error is HttpError<412>)

Checks whether the given error is an instance of this class.

statusCode: 412

The status code corresponding to this error class.

uri: NamedNode<string>

A unique URI identifying this error class.

Methods

  • Initializes the error metadata.

    Returns void