Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GoneRestError<M, C>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • new GoneRestError(message: string, meta?: M, code?: C): GoneRestError

Properties

code

code: C

meta

meta: M

statusCode

statusCode: GONE = StatusCode.GONE

Static message

message: string

Static name

name: string

Static Optional stack

stack: undefined | string

Methods

getCode

  • getCode(): C

getMessage

  • getMessage(): string

getMeta

  • getMeta(): M

getStack

  • getStack(): string

getStatusCode

  • getStatusCode(): StatusCode

Generated using TypeDoc