blob: c5c184adc47830bbabc0b7af149a40f9c7213b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/*
* Copyright (c) 2012-2014 Kaarle Ritvanen
* See LICENSE file for license details
*/
define(function() {
return function(msg, xhr) {
msg += " " + xhr.statusCode().status;
if (xhr.responseText) msg += ': ' + xhr.responseText;
return msg;
}
});
|