MapLayerAuthenticationFailedError Class @beta

Error reporting an unrecoverable authentication failure for a map-layer request. Thrown by a MapLayerFetchHandler when it recognizes an authentication failure it cannot fix silently (e.g. a 401 that survives a token refresh, or a protocol-specific error embedded in a 200 body); callers convert it to RequireAuth (tile requests and provider initialization) or RequireAuth (source validation), letting the application prompt for re-authentication.

Extends

  • Error

Methods

Name Description
constructor(url: string): MapLayerAuthenticationFailedError    

Properties

Name Type Description
url Readonly string The URL of the request that failed to authenticate.  

Defined in

Last Updated: 03 December, 2026