Documentation / @zerotal/inertia / InvalidComponentError
Class: InvalidComponentError
Defined in: inertia/src/errors.ts:29
Thrown when a component name is unsafe (path traversal) or has no resolvable default export.
Extends
Constructors
Constructor
new InvalidComponentError(
component,reason?):InvalidComponentError
Defined in: inertia/src/errors.ts:30
Parameters
component
string
reason?
string = "is not a valid component"
Returns
InvalidComponentError
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