Skip to main content
Version: v1

GenericNetworkError Class

Generic network error class.

Signature​

export declare class GenericNetworkError extends LoggingError implements IDriverErrorBase, IFluidErrorBase

Extends: LoggingError

Implements: IDriverErrorBase, IFluidErrorBase

Constructors​

ConstructorDescription
(constructor)(message, canRetry, props)Constructs a new instance of the GenericNetworkError class

Properties​

PropertyTypeDescription
canRetryboolean
errorType

Constructor Details​

(constructor)​

Constructs a new instance of the GenericNetworkError class

Signature​

constructor(message: string, canRetry: boolean, props: DriverErrorTelemetryProps);

Parameters​

ParameterTypeDescription
messagestring
canRetryboolean
propsDriverErrorTelemetryProps

Property Details​

canRetry​

Signature​

readonly canRetry: boolean;

Type: boolean

errorType​

Signature​

readonly errorType = DriverErrorType.genericNetworkError;