first commit + some progress
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* `UserInfoError` error.
|
||||
*
|
||||
* @constructor
|
||||
* @param {string} [message]
|
||||
* @param {string} [code]
|
||||
* @access public
|
||||
*/
|
||||
function UserInfoError(message, code) {
|
||||
Error.call(this);
|
||||
Error.captureStackTrace(this, arguments.callee);
|
||||
this.name = 'UserInfoError';
|
||||
this.message = message;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
// Inherit from `Error`.
|
||||
UserInfoError.prototype.__proto__ = Error.prototype;
|
||||
|
||||
|
||||
// Expose constructor.
|
||||
module.exports = UserInfoError;
|
||||
Reference in New Issue
Block a user