Options
All
  • Public
  • Public/Protected
  • All
Menu

The server either does not recognize the request method, or it lacks the ability to fulfil the request. Usually this implies future availability (e.g., a new feature of a web-service API).

Hierarchy

  • BaseHttpError
    • NotImplementedHttpError

Index

Constructors

Properties

cause?: unknown
details?: Dict<unknown>
errorCode: string
message: string
name: string
stack?: string
statusCode: 501
statusCode: 501

The status code corresponding to this error class.

uri: NamedNode<string>

A unique URI identifying this error class.

Methods

  • generateMetadata(subject: string | Quad_Subject): Quad[]
  • Returns quads representing metadata relevant to this error.

    Parameters

    • subject: string | Quad_Subject

    Returns Quad[]

  • isInstance(error: any): error is HttpError<TCode>