GenericNetworkError Class

Packages > @fluidframework/driver-utils > GenericNetworkError

Generic network error class.

Signature:

export declare class GenericNetworkError extends LoggingError implements IDriverErrorBase 

Extends: LoggingError

Implements: IDriverErrorBase

Constructors

List of constructors for this class
Constructor Modifiers Description
(constructor)(errorMessage, canRetry, statusCode) Constructs a new instance of the GenericNetworkError class

Properties

List of properties for this class
Property Modifiers Type Description
canRetry boolean
errorType (not declared)

Constructors

GenericNetworkError.(constructor)

Constructs a new instance of the GenericNetworkError class

Signature:

constructor(errorMessage: string, canRetry: boolean, statusCode: number | undefined);

Parameters

List of parameters
Parameter Type Description
errorMessage string
canRetry boolean
statusCode number | undefined

Properties

canRetry

Signature:

readonly canRetry: boolean;

errorType

Signature:

readonly errorType = DriverErrorType.genericNetworkError;