index.js
function inherit(name, defmessage, abstract, construct) {
        if (typeof name === "object") {
            name.parent = this;
            return create(name);
        }
        return create(name, this, defmessage, abstract, construct);
    }
function inherit(name, defmessage, abstract, construct) {
        if (typeof name === "object") {
            name.parent = this;
            return create(name);
        }
        return create(name, this, defmessage, abstract, construct);
    }
function inherit ( name , defmessage , abstract , construct ) { if ( typeof name === "object" ) { name . parent = this ; return create ( name ) ; } return create ( name , this , defmessage , abstract , construct ) ; }
Inherit from this class

@name CustomErrors.inherit
@public
@param {(String|Object)} name
@param {String} [defmessage]
@param {Boolean} [abstract]
@param {Function} [construct]
@return {Function}
Inherit from this class