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

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

Properties

Property Type Description
canRetry
errorType
retryAfterSeconds number

Constructor Details

(constructor)

Constructs a new instance of the ThrottlingError class

Signature

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

Parameters

Parameter Type Description
message string
retryAfterSeconds number
props DriverErrorTelemetryProps

Property Details

canRetry

Signature

readonly canRetry = true;

errorType

Signature

readonly errorType = DriverErrorType.throttlingError;

retryAfterSeconds

Signature

readonly retryAfterSeconds: number;

Type: number