UNPKG

vtpass-node

Version:

A nodejs sdk for interacting with vtpass api.

16 lines (14 loc) 469 B
const BaseError = require('./BaseError') module.exports = class ServiceUnavailableError extends BaseError { /** * The ServiceUnavailableError Constructor. * @param {Object} options - A configuration object for errors. * @param {String} options.message - The error message if any. * @constructor ServiceUnavailableError */ constructor (options = {}) { super(options) this.name = this.constructor.name this.message = options.message } }