code: function(name) {
      var cls = new Class(name,{
        inherits: Error,
        constructor: function(message) {
          this.name = name;
          this.message = message;
        },
      });
      return cls.toFunction();
    }
docs: .createError(name)