Skip to main content
zerotal

Documentation


Documentation / @zerotal/inertia / InertiaTemplateNotLoadedError

Class: InertiaTemplateNotLoadedError

Defined in: inertia/src/errors.ts:19

Thrown when inertia() / inertiaStream() runs before the HTML template has been loaded — almost always because InertiaProvider is not registered.

Extends

Constructors

Constructor

new InertiaTemplateNotLoadedError(): InertiaTemplateNotLoadedError

Defined in: inertia/src/errors.ts:20

Returns

InertiaTemplateNotLoadedError

Overrides

InertiaError.constructor

Properties

code

readonly code: string

Defined in: core/src/errors/ZerotalError.ts:18

Inherited from

InertiaError.code


status

readonly status: number = 500

Defined in: core/src/errors/ZerotalError.ts:19

Inherited from

InertiaError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: core/src/errors/ZerotalError.ts:20

Inherited from

InertiaError.context