aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/src/internal/util/NotFoundError.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/src/internal/util/NotFoundError.ts')
-rw-r--r--node_modules/rxjs/src/internal/util/NotFoundError.ts26
1 files changed, 0 insertions, 26 deletions
diff --git a/node_modules/rxjs/src/internal/util/NotFoundError.ts b/node_modules/rxjs/src/internal/util/NotFoundError.ts
deleted file mode 100644
index ecd213f..0000000
--- a/node_modules/rxjs/src/internal/util/NotFoundError.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { createErrorClass } from './createErrorClass';
-
-export interface NotFoundError extends Error {}
-
-export interface NotFoundErrorCtor {
- /**
- * @deprecated Internal implementation detail. Do not construct error instances.
- * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
- */
- new (message: string): NotFoundError;
-}
-
-/**
- * An error thrown when a value or values are missing from an
- * observable sequence.
- *
- * @see {@link operators/single}
- */
-export const NotFoundError: NotFoundErrorCtor = createErrorClass(
- (_super) =>
- function NotFoundErrorImpl(this: any, message: string) {
- _super(this);
- this.name = 'NotFoundError';
- this.message = message;
- }
-);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage