Skip to content

Errors: LoaderDataAccessError ​

An error thrown when a loader reads the data of the route it belongs to. That data includes what the loader itself is computing, so reading it could only wait on the loader that is doing the reading.

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new LoaderDataAccessError(name?): LoaderDataAccessError;

Parameters ​

ParameterType
name?string

Returns ​

LoaderDataAccessError

Overrides ​

Error.constructor

Methods ​

isError() ​

ts
static isError(error): error is Error;

Indicates whether the argument provided is a built-in Error instance or not.

Parameters ​

ParameterType
errorunknown

Returns ​

error is Error

Inherited from ​

Error.isError

Properties ​

PropertyTypeInherited from
cause?unknownError.cause
messagestringError.message
namestringError.name
stack?stringError.stack