UNPKG

629 BTypeScriptView Raw
1export interface EmptyError extends Error {
2}
3export interface EmptyErrorCtor {
4 /**
5 * @deprecated Internal implementation detail. Do not construct error instances.
6 * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
7 */
8 new (): EmptyError;
9}
10/**
11 * An error thrown when an Observable or a sequence was queried but has no
12 * elements.
13 *
14 * @see {@link first}
15 * @see {@link last}
16 * @see {@link single}
17 * @see {@link firstValueFrom}
18 * @see {@link lastValueFrom}
19 *
20 * @class EmptyError
21 */
22export declare const EmptyError: EmptyErrorCtor;
23//# sourceMappingURL=EmptyError.d.ts.map
\No newline at end of file