Skip to content

Class: AdonisRTUCouldNotResolveHttpServerError

Thrown by the RTU Interface when the HTTP server cannot be resolved from the Adonis server service during the "ready" lifecycle event.

Extends

  • AdonisRTUError

Constructors

Constructor

ts
new AdonisRTUCouldNotResolveHttpServerError(): AdonisRTUCouldNotResolveHttpServerError;

Returns

AdonisRTUCouldNotResolveHttpServerError

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]

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;