Skip to main content
Module

x/rxjs/mod.ts>TimeoutError

Deno port of RXJS
Latest
interface TimeoutError
implements Error
import { type TimeoutError } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";

An error emitted when a timeout occurs.

Type Parameters

optional
T = unknown
optional
M = unknown

Properties

info: TimeoutInfo<T, M> | null

The information provided to the error by the timeout operation that created the error. Will be null if used directly in non-RxJS code with an empty constructor. (Note that using this constructor directly is not recommended, you should create your own errors)

variable TimeoutError
import { TimeoutError } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";

An error thrown by the timeout operator.

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.

type

TimeoutErrorCtor