Skip to main content
Version: v1

ThrottlingError Class

Throttling error class - used to communicate all throttling errors

Signature​

export declare class ThrottlingError extends LoggingError implements IThrottlingWarning, IFluidErrorBase

Extends: LoggingError

Implements: IThrottlingWarning, IFluidErrorBase

Constructors​

ConstructorDescription
(constructor)(message, retryAfterSeconds, props)Constructs a new instance of the ThrottlingError class

Properties​

PropertyTypeDescription
canRetry
errorType
retryAfterSecondsnumber

Constructor Details​

(constructor)​

Constructs a new instance of the ThrottlingError class

Signature​

constructor(message: string, retryAfterSeconds: number, props: DriverErrorTelemetryProps);

Parameters​

ParameterTypeDescription
messagestring
retryAfterSecondsnumber
propsDriverErrorTelemetryProps

Property Details​

canRetry​

Signature​

readonly canRetry = true;

errorType​

Signature​

readonly errorType = DriverErrorType.throttlingError;

retryAfterSeconds​

Signature​

readonly retryAfterSeconds: number;

Type: number