Sha256: 1f9a7c6171f0112f617f883927623169a52d2b1c3deddcce2d36c1a823362af3
Contents?: true
Size: 385 Bytes
Versions: 26
Compression:
Stored size: 385 Bytes
Contents
'use strict'; /** * A `Cancel` is an object that is thrown when an operation is canceled. * * @class * @param {string=} message The message. */ function Cancel(message) { this.message = message; } Cancel.prototype.toString = function toString() { return 'Cancel' + (this.message ? ': ' + this.message : ''); }; Cancel.prototype.__CANCEL__ = true; module.exports = Cancel;
Version data entries
26 entries across 14 versions & 4 rubygems