Skip to main content
Version: v1

NonRetryableError Class

Signature​

export declare class NonRetryableError<T extends string> extends NetworkErrorBasic<T>

Extends: NetworkErrorBasic

Type Parameters​

ParameterConstraintDescription
Tstring

Constructors​

ConstructorDescription
(constructor)(message, errorType, props)Constructs a new instance of the NonRetryableError class

Properties​

PropertyTypeDescription
errorTypeT

Constructor Details​

(constructor)​

Constructs a new instance of the NonRetryableError class

Signature​

constructor(message: string, errorType: T, props: DriverErrorTelemetryProps);

Parameters​

ParameterTypeDescription
messagestring
errorTypeT
propsDriverErrorTelemetryProps

Property Details​

errorType​

Signature​

readonly errorType: T;

Type: T