Class UnauthenticatedError
Hierarchy
- Error
- UnauthenticatedError
Index
Constructors
Properties
Methods
Constructors
constructor
- new
Unauthenticated (message?): UnauthenticatedErrorError Parameters
Optional
message: string
Returns UnauthenticatedError
- new
Unauthenticated (message?, options?): UnauthenticatedErrorError Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns UnauthenticatedError
Properties
Optional
cause
cause?: unknown
message
message: string
name
name: string
Optional
stack
stack?: string
Static
Optional
prepareStackTrace
prepareStackTrace ?: ((err: Error, stackTraces: CallSite[]) => any)
Optional override for formatting stack traces
Static
stackTraceLimit
stackTraceLimit : number
Methods
Static
captureStackTrace
- capture
Stack (targetObject, constructorOpt?): voidTrace Create .stack property on a target object
Parameters
- targetObject: object
Optional
constructorOpt: Function
Returns void
- capture
Stack (targetObject, constructorOpt?): voidTrace Create .stack property on a target object
Parameters
- targetObject: object
Optional
constructorOpt: Function
Returns void
The
UnauthenticatedError
object represents an error while attempting to perform an action that requires being authenticated to the current session, while not being authenticated or connected to the server.