TimeoutError
interface
stable
An error thrown by the timeout
operator.
interface TimeoutError<T, M> extends Error { info: TimeoutInfo<T, M> | null }
Description
Provided so users can use as a type and do quality comparisons. We recommend you do not subclass this or create instances of this class directly. If you have need of a error representing a timeout, you should create your own error class and use that.
Properties
Property | Type | Description |
---|---|---|
info
| TimeoutInfo<T, M> | null | The information provided to the error by the timeout operation that created the error. Will be |
See Also
© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/TimeoutError