Errors: LoaderNameConflict
An error thrown when a loader is added with the same name as a loader on one of the route's ancestors. A route's data combines the loaders of every match, so the same name twice would be ambiguous rather than an override.
Extends
Error
Constructors
Constructor
ts
new LoaderNameConflict(name?): LoaderNameConflict;Parameters
| Parameter | Type |
|---|---|
name? | string |
Returns
LoaderNameConflict
Overrides
ts
Error.constructorMethods
isError()
ts
static isError(error): error is Error;Indicates whether the argument provided is a built-in Error instance or not.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
error is Error
Inherited from
ts
Error.isErrorProperties
| Property | Type | Inherited from |
|---|---|---|
cause? | unknown | Error.cause |
message | string | Error.message |
name | string | Error.name |
stack? | string | Error.stack |