16 lines
212 B
JavaScript
16 lines
212 B
JavaScript
|
|
/**
|
|
* Expose `Pending`.
|
|
*/
|
|
|
|
module.exports = Pending;
|
|
|
|
/**
|
|
* Initialize a new `Pending` error with the given message.
|
|
*
|
|
* @param {string} message
|
|
*/
|
|
function Pending(message) {
|
|
this.message = message;
|
|
}
|