# Code coverage report for RxJS/dist/cjs/util/EmptyError.js

## Statements: 90% (9 / 10) Branches: 50% (1 / 2) Functions: 100% (2 / 2) Lines: 100% (8 / 8) Ignored: none

All files » RxJS/dist/cjs/util/ » EmptyError.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

    1

    12

    1
    12

    12
    12

    1
    1'use strict';

    exports.__esModule = true;

    function _classCallCheck(instance, Constructor) { Iif (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

    var EmptyError = function EmptyError() {
        _classCallCheck(this, EmptyError);

        this.name = 'EmptyError';
        this.message = 'no elements in sequence';
    };

    exports['default'] = EmptyError;
    module.exports = exports['default'];