code: function inherit(name, defmessage, abstract, construct) {
          if (typeof name === "object") {
              name.parent = this;
              return create(name);
          }
          return create(name, this, defmessage, abstract, construct);
      }
docs: Inherit from this class
  
  @name CustomErrors.inherit
  @public
  @param {(String|Object)} name
  @param {String} [defmessage]
  @param {Boolean} [abstract]
  @param {Function} [construct]
  @return {Function}