Properties
Optional
cause
cause?: unknown
method
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"
name
name: string = "GuildedRESTError"
resBody
resBody: null | Record<string, unknown>
response
response: Response
Optional
stack
stack?: string
Static
Optional
prepareStackTrace
prepareStackTrace?: ((err, stackTraces) => any)
Type declaration
-
- (err, stackTraces): any
-
Parameters
-
err: Error
-
stackTraces: CallSite[]
Returns any
Static
stackTraceLimit
stackTraceLimit: number
Credits to Ocanic.js