Skip to content

Class: AdonisRTUUnresolvableAuthenticationProviderError

Returned to the client via the middleware for authentication if the Adonis Authentication Provider cannot be resolved from the Adonis IoC container.

Extends

  • AdonisRTUError

Constructors

Constructor

ts
new AdonisRTUUnresolvableAuthenticationProviderError(): AdonisRTUUnresolvableAuthenticationProviderError;

Returns

AdonisRTUUnresolvableAuthenticationProviderError

Overrides

ts
AdonisRTUError.constructor;

Properties

PropertyModifierTypeDescriptionInherited from
cause?publicunknown-AdonisRTUError.cause
stack?publicstring-AdonisRTUError.stack
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-tracesAdonisRTUError.prepareStackTrace
stackTraceLimitstaticnumber-AdonisRTUError.stackTraceLimit

Accessors

[toStringTag]

Get Signature

ts
get toStringTag: string;
Returns

string

Inherited from

ts
AdonisRTUError.[toStringTag]

data

Get Signature

ts
get data(): undefined;
Returns

undefined


message

Get Signature

ts
get message(): string;
Returns

string

Inherited from

ts
AdonisRTUError.message;

name

Get Signature

ts
get name(): string;
Returns

string

Inherited from

ts
AdonisRTUError.name;

Methods

[toPrimitive]()

ts
toPrimitive: string | true;

Parameters

ParameterType
hint"string" | "number" | "default"

Returns

string | true

Inherited from

ts
AdonisRTUError.[toPrimitive]

toString()

ts
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

ts
AdonisRTUError.toString;

[hasInstance]()

ts
static hasInstance: boolean;

Parameters

ParameterType
instanceunknown

Returns

boolean

Inherited from

ts
AdonisRTUError.[hasInstance]

captureStackTrace()

ts
static captureStackTrace(targetObject: object, constructorOpt?: Function): void;

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

ts
AdonisRTUError.captureStackTrace;