Class UnauthenticatedError
Hierarchy
- Error
- UnauthenticatedError
Index
Constructors
Properties
Methods
Constructors
constructor
- new
Unauthenticated (message?): UnauthenticatedErrorError Parameters
Optionalmessage: string
Returns UnauthenticatedError
- new
Unauthenticated (message?, options?): UnauthenticatedErrorError Parameters
Optionalmessage: stringOptionaloptions: ErrorOptions
Returns UnauthenticatedError
Properties
Optionalcause
cause?: unknown
message
message: string
name
name: string
Optionalstack
stack?: string
Static OptionalprepareStackTrace
prepareStackTrace ?: ((err: Error, stackTraces: CallSite[]) => any)
Optional override for formatting stack traces
StaticstackTraceLimit
stackTraceLimit : number
Methods
StaticcaptureStackTrace
- capture
Stack (targetObject, constructorOpt?): voidTrace Create .stack property on a target object
Parameters
- targetObject: object
OptionalconstructorOpt: Function
Returns void
- capture
Stack (targetObject, constructorOpt?): voidTrace Create .stack property on a target object
Parameters
- targetObject: object
OptionalconstructorOpt: Function
Returns void
The
UnauthenticatedErrorobject 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.