Documentation / @zerotal/inertia / InertiaError
Class: InertiaError
Defined in: inertia/src/errors.ts:4
Base class for all @zerotal/inertia errors.
Extends
Extended by
Constructors
Constructor
new InertiaError(
message,code?,status?,context?):InertiaError
Defined in: inertia/src/errors.ts:5
Parameters
message
string
code?
string = "E_INERTIA"
status?
number = 500
context?
Record<string, unknown>
Returns
InertiaError
Overrides
Properties
code
readonlycode:string
Defined in: core/src/errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: core/src/errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: core/src/errors/ZerotalError.ts:20