Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

handle error in promise chain

promise.then(successHandler).catch(errorHandler);
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #handle #error #promise #chain
ADD COMMENT
Topic
Name
4+2 =