Was this page helpful?
OperationTimedOutError¶
errors~OperationTimedOutError(message, hostopt)
Represents a client-side error that is raised when the client didn't hear back from the server within. ClientOptions.socketOptions.readTimeout.
Constructor¶
new OperationTimedOutError(message, hostopt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
string | ||
host |
string |
<optional> |
Address of the server host that caused the operation to time out. |
Source
Members¶
host :string|undefined
When defined, it gets the address of the host that caused the operation to time out.
Type:
- string | undefined
Source