Interface
SinterServerErrorOptions
Details a server error response can carry.
interface SinterServerErrorOptions extends ErrorOptionsDefined in packages/driver/src/errors.ts:39
Hierarchy
- ErrorOptions
- SinterServerErrorOptions
Properties#
details
#readonly details?: DocumentExtra structured information from the server.
Defined in packages/driver/src/errors.ts:47
retryable
#readonly retryable?: booleanWhether the server says the same request may succeed if retried.
Defined in packages/driver/src/errors.ts:45
serverErrorName
#readonly serverErrorName?: stringThe server's name for the error, such as DuplicateKey.
Defined in packages/driver/src/errors.ts:43
wireCode
#readonly wireCode?: numberThe numeric error code from the wire protocol.
Defined in packages/driver/src/errors.ts:41