Optional
Readonly
causeAn error that caused this error. In many cases it is also instance of NoSQLError and may itself have a cause. You could iterate through the chain of causes like this:
for(let cause = err.cause; cause; cause = cause.cause) {...
If this error does not have a cause, the value of this property is undefined.
Readonly
errorErrorCode of this error.
Optional
Readonly
operationOperation that resulted in this error. Operation object contains the API and its arguments including the options used. Operation object may not always be available, in which case the value of this property is undefined.
If this error happened during creation of new NoSQLClient then instead of Operation this property contains Config used to create NoSQLClient instance.
Optional
Readonly
retryableIndicates whether this error is retryable.
APIs that result in retryable errors are automatically retried by the driver's default RetryHandler. Default retry handler can be customized by properties in RetryConfig. Alternatively, a custom RetryHandler can be set as handler.
If necessary, APIs that result in retryable errors may also be explicitly retried by the application.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
Static
stackStatic
captureGenerated using TypeDoc
This error occurs if operation has exceeded the provided timeout interval. It is possible that the operation has been retried a number of times before this timeout occurred. Whether the operation was retried depends on the operation type, the errors caused by the operation and configured retry handler(see retryable for explanation). For retryable operations, the timeout is considered cumulative over all retries (not as timeout of a single retry). If this error occurs when the service is operating properly, you may want to adjust timeout values configured for NoSQLClient or passed to the NoSQLClient methods in opt argument.
Errors of this class have error code REQUEST_TIMEOUT.
See