An error thrown when an agent is not allowed to access data.

Hierarchy

  • BaseHttpError
    • ForbiddenHttpError

Constructors

Properties

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

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

statusCode: 403

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