Subtheme of barrio
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
906 B

2 years ago
{"version":3,"file":"EmptyError.js","sourceRoot":"","sources":["../../src/util/EmptyError.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;GASG;AACH;IAAgC,8BAAK;IACnC;QACE,IAAM,GAAG,GAAQ,kBAAM,yBAAyB,CAAC,CAAC;QAC3C,IAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,YAAY,CAAC;QACrC,IAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAK,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IACrC,CAAC;IACH,iBAAC;AAAD,CAAC,AAPD,CAAgC,KAAK,GAOpC;AAPY,kBAAU,aAOtB,CAAA","sourcesContent":["/**\n * An error thrown when an Observable or a sequence was queried but has no\n * elements.\n *\n * @see {@link first}\n * @see {@link last}\n * @see {@link single}\n *\n * @class EmptyError\n */\nexport class EmptyError extends Error {\n constructor() {\n const err: any = super('no elements in sequence');\n (<any> this).name = err.name = 'EmptyError';\n (<any> this).stack = err.stack;\n (<any> this).message = err.message;\n }\n}\n"]}