Skip to main content
Version: v1

AuthorizationError Class

Signature​

export declare class AuthorizationError extends LoggingError implements IAuthorizationError, IFluidErrorBase

Extends: LoggingError

Implements: IAuthorizationError, IFluidErrorBase

Constructors​

ConstructorDescription
(constructor)(message, claims, tenantId, props)Constructs a new instance of the AuthorizationError class

Properties​

PropertyTypeDescription
canRetry
claimsstring | undefined
errorType
tenantIdstring | undefined

Constructor Details​

(constructor)​

Constructs a new instance of the AuthorizationError class

Signature​

constructor(message: string, claims: string | undefined, tenantId: string | undefined, props: DriverErrorTelemetryProps);

Parameters​

ParameterTypeDescription
messagestring
claimsstring | undefined
tenantIdstring | undefined
propsDriverErrorTelemetryProps

Property Details​

canRetry​

Signature​

readonly canRetry = false;

claims​

Signature​

readonly claims: string | undefined;

Type: string | undefined

errorType​

Signature​

readonly errorType = DriverErrorType.authorizationError;

tenantId​

Signature​

readonly tenantId: string | undefined;

Type: string | undefined