code: function ToxError(type, code, message) {
      this.name = "ToxError";
      this.type = ( type || "ToxError" );
      this.code = ( code || 0 ); // 0 = unsuccessful
      this.message = ( message || (this.type + ": " + this.code) );
      Error.captureStackTrace(this, ToxError);
  }
docs: Creates a ToxError instance
  @class
  @param {String} type of error
  @param {Number} code of type
  @param {String} message of error