PageSourceSearch

https://www.belmontmedical.com/1723204579/js/components/stripe-bnpl/StripeBNPLError.js

js belmontmedical.com collected 2026-09-28 08:46:22 UTC 586 bytes, 23 lines download raw bytes

1var StripeBNPLError = function (message) {
2    this.name = 'StripeBNPLError';
3    this.message = message;
4    this.response = null;
5
6    this.setResponse = function (response) {
7        this.response = response;
8    };
9};
10
11StripeBNPLError.prototype = Object.create(Error.prototype);
12
13StripeBNPLError.fromResponseError = function (response) {
14    if (typeof response !== 'object') {
15        return new StripeBNPLError(response || 'Response Error');
16    }
17
18    var error = new StripeBNPLError(response.message || 'Response Error');
19
20    error.setResponse(response);
21
22    return error;
23};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.