'use strict';
function WebPushError(message, statusCode, headers, body) {
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
this.statusCode = statusCode;
this.headers = headers;
this.body = body;
}
require('util').inherits(WebPushError, Error);
module.exports = WebPushError;