299 BJavaScriptView Raw
1export var throwServerError = function (response, result, message) {
2 var error = new Error(message);
3 error.name = "ServerError";
4 error.response = response;
5 error.statusCode = response.status;
6 error.result = result;
7 throw error;
8};
9//# sourceMappingURL=throwServerError.js.map
\No newline at end of file