1 export interface EmptyError extends Error {
4 export interface EmptyErrorCtor {
8 const EmptyErrorImpl = (() => {
9 function EmptyErrorImpl(this: any) {
11 this.message = 'no elements in sequence';
12 this.name = 'EmptyError';
16 EmptyErrorImpl.prototype = Object.create(Error.prototype);
18 return EmptyErrorImpl;
22 * An error thrown when an Observable or a sequence was queried but has no
31 export const EmptyError: EmptyErrorCtor = EmptyErrorImpl as any;