Error Handling

The Error object helps you resolve errors from the Synerise SDK.

Example


When you receive an error from the SDK method, you can check the information in it.

Synerise.onError(function(error) {
	alert(error.code); // Synerise or HTTP error code from network request
	alert(error.message); // Synerise error description
});
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.