Class
SinterCompatibilityError
The server does not speak a compatible protocol version. Code
INCOMPATIBLE_PROTOCOL.
class SinterCompatibilityError extends SinterServerErrorDefined in packages/driver/src/errors.ts:233
Hierarchy
- Error
- SinterError
- SinterServerError
- SinterCompatibilityError
- SinterServerError
- SinterError
Constructors#
constructor
#new SinterCompatibilityError(
message: string,
options?: SinterServerErrorOptions,
)Defined in packages/driver/src/errors.ts:185
Inherited from SinterServerError.constructor
Properties#
code
#readonly code: "INCOMPATIBLE_PROTOCOL"Always INCOMPATIBLE_PROTOCOL.
Overrides SinterServerError.code
Defined in packages/driver/src/errors.ts:235
details
#readonly details: Document | undefinedExtra structured information from the server, if any.
Inherited from SinterInsertManyError.details
Defined in packages/driver/src/errors.ts:183
retryable
#readonly retryable: booleanWhether the server says the same request may succeed if retried. false
unless stated.
Inherited from SinterServerError.retryable
Defined in packages/driver/src/errors.ts:181
serverErrorName
#readonly serverErrorName: string | undefinedThe server's name for the error, such as DuplicateKey.
Inherited from SinterInsertManyError.serverErrorName
Defined in packages/driver/src/errors.ts:176
wireCode
#readonly wireCode: number | undefinedThe numeric error code from the wire protocol, if the server sent one.
Inherited from SinterInsertManyError.wireCode
Defined in packages/driver/src/errors.ts:174