Skip to main content
Version: v1

AuthorizationError Class

Signature

export declare class AuthorizationError extends LoggingError implements IAuthorizationError, IFluidErrorBase

Extends: LoggingError

Implements: IAuthorizationError, IFluidErrorBase

Constructors

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

Properties

Property Type Description
canRetry
claims string | undefined
errorType
tenantId string | 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

Parameter Type Description
message string
claims string | undefined
tenantId string | undefined
props DriverErrorTelemetryProps

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