IDriverBasicError Interface
Packages > @fluidframework/driver-definitions > IDriverBasicError
Having this uber interface without types that have their own interfaces allows compiler to differentiate interfaces based on error type
Signature:
export interface IDriverBasicError extends IDriverErrorBase
Extends: IDriverErrorBase
Properties
Property | Type | Description |
---|---|---|
errorType | DriverErrorType.genericError | DriverErrorType.authorizationError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | |
statusCode | number |
Events
errorType
Signature:
readonly errorType: DriverErrorType.genericError | DriverErrorType.authorizationError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse;
statusCode
Signature:
readonly statusCode?: number;