UNPKG

restpki-client

Version:

Classes to consume Lacuna Software REST PKI

14 lines (10 loc) 410 B
'use strict'; const {RestBaseError} = require('./rest-base-error'); class RestUnreachableError extends RestBaseError { constructor(verb, url, innerException) { super('RestUnreachableError', `REST action ${verb} ${url} unreachable\n${innerException}`, verb, url, innerException); Error.captureStackTrace(this, this.constructor); } } exports.RestUnreachableError = RestUnreachableError;