Options
All
  • Public
  • Public/Protected
  • All
Menu

Browser library error class thrown by the MSAL.js library for SPAs

Hierarchy

Index

Constructors

constructor

  • new BrowserAuthError(errorCode: string, errorMessage?: string): BrowserAuthError

Properties

correlationId

correlationId: string

CorrelationId associated with the error

errorCode

errorCode: string

Short string denoting error

errorMessage

errorMessage: string

Detailed description of error

subError

subError: string

Describes the subclass of an error

Methods

setCorrelationId

  • setCorrelationId(correlationId: string): void

Static createAuthRequestNotSetError

Static createBlockAcquireTokenInPopupsError

Static createBlockReloadInHiddenIframeError

Static createCryptoNotAvailableError

Static createDatabaseNotOpenError

Static createDatabaseUnavailableError

Static createEmptyHashError

Static createEmptyNavigationUriError

Static createEmptyWindowCreatedError

Static createFailedToParseNetworkResponseError

Static createGetRequestFailedError

  • createGetRequestFailedError(errorDesc: string, endpoint: string): BrowserAuthError

Static createHashDoesNotContainKnownPropertiesError

Static createHashDoesNotContainStateError

Static createHttpMethodNotImplementedError

Static createIframeClosedPrematurelyError

Static createInteractionInProgressError

Static createInvalidCacheTypeError

Static createMonitorIframeTimeoutError

Static createMonitorPopupTimeoutError

Static createNoAccountError

Static createNoCachedAuthorityError

Static createNoNetworkConnectivityError

Static createNoTokenRequestCacheError

Static createNonBrowserEnvironmentError

Static createPkceNotGeneratedError

Static createPopupWindowError

Static createPostRequestFailedError

  • createPostRequestFailedError(errorDesc: string, endpoint: string): BrowserAuthError

Static createRedirectInIframeError

Static createSigningKeyNotFoundInStorageError

Static createSilentLogoutUnsupportedError

Static createSilentPromptValueError

Static createStateInteractionTypeMismatchError

Static createUnableToLoadTokenError

Static createUnableToParseStateError

Static createUnableToParseTokenRequestCacheError

Static createUnexpectedError

  • createUnexpectedError(errDesc: string): AuthError

Static createUserCancelledError

Generated using TypeDoc