Handling MobbSign Web errors
Any error occurred in MobbSign Web is notified by the onError
listener, also passing the error as a parameter:
new MobbSign({
...
onError: (e: any) => this.onErrorOccurred(e),
}).then((mobbsign: any) => {
mobbsign.load(this.documentId);
});
onErrorOccurred(e: any) {
console.error(`mobbsign error: ${e}`);
}
Check Listening events for a more detailed description of listeners to subscribe in MobbSign Web