dist/assert.esm.js
function AssertionException(type, message, id) {
        var _this = _super.call(this, message) || this;
        _this.type = type;
        _this.id = id;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(_this, _this.constructor);
        }
        return _this;
    }
function AssertionException(type, message, id) {
        var _this = _super.call(this, message) || this;
        _this.type = type;
        _this.id = id;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(_this, _this.constructor);
        }
        return _this;
    }
function AssertionException ( type , message , id ) { var _this = _super . call ( this , message ) || this ; _this . type = type ; _this . id = id ; if ( Error . captureStackTrace ) { Error . captureStackTrace ( _this , _this . constructor ) ; } return _this ; }
Create AssertionException based on type, message and id
@param {assertionTypes} type - Assertion type
@param {string} message - Custom error message
@param {string} id - Exception id
Create AssertionException based on type message and id