Options
All
  • Public
  • Public/Protected
  • All
Menu

An error thrown when data was found for the requested identifier, but is not supported by the target resource. Can keep track of the methods that are not allowed.

Hierarchy

  • BaseHttpError
    • MethodNotAllowedHttpError

Index

Constructors

Properties

cause?: unknown
details?: Dict<unknown>
errorCode: string
message: string
methods: readonly string[]
name: string
stack?: string
statusCode: 405
statusCode: 405

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[]
  • isInstance(error: any): error is HttpError<TCode>