The result of asynchronous operation. It is a promise object.
.catch(error=>{})
try{ *your code* }catch(error){}
The result of asynchronous operation. It is a promise object.
.catch(error=>{})
ortry{ *your code* }catch(error){}
to handle the errors.