Errors handling

For any application, you'll need to add error handling. For logging errors, you can use tools such as Sentry.

WT Error codes

WTSDK.ErrorsListeners.onSessionError((e) => {
	...
	// Sending errors to your errors logger
	...
	// console.log('handling errors');
	// console.log(e.code);
	// console.log(e.message);
});

Last updated