All files / lib rest-unreachable-error.js

81.81% Statements 9/11
100% Branches 0/0
0% Functions 0/1
81.81% Lines 9/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 111x 1x 1x 1x 1x 1x     1x 1x 1x
'use strict';
const { RestBaseError } = require('./rest-base-error');
 
class RestUnreachableError extends RestBaseError {
 
	constructor(verb, url, innerError = null) {
		super( `REST action ${verb} ${url} unreachable`, verb, url, innerError);
	}
}
 
exports.RestUnreachableError = RestUnreachableError;