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