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

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

Properties

Property Type Description
canRetry boolean
errorType

Constructor Details

(constructor)

Constructs a new instance of the GenericNetworkError class

Signature

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

Parameters

Parameter Type Description
message string
canRetry boolean
props DriverErrorTelemetryProps

Property Details

canRetry

Signature

readonly canRetry: boolean;

Type: boolean

errorType

Signature

readonly errorType = DriverErrorType.genericNetworkError;