Skip to content

Future #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 18, 2024
Prev Previous commit
Next Next commit
Captured network error
  • Loading branch information
gnongsie committed Aug 30, 2024
commit 3839bb6010961733de3ea3d28e203e243e692044
6 changes: 6 additions & 0 deletions lib/apicontrollersbase.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class APIOperationBase {

this._request = null;
this._response = null;
this._error = null;
this._endpoint = constants.endpoint.sandbox;

if (null == apiRequest)
Expand All @@ -38,6 +39,10 @@ class APIOperationBase {
return this._response;
}

getError() {
return this._error;
}

getResultcode() {
var resultcode = null;

Expand Down Expand Up @@ -107,6 +112,7 @@ class APIOperationBase {
logger.error("Undefined Response");
}
}).catch(error => {
obj._error = error;
logger.error(error);
});

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy