It will try and catch the possible errors during execution of the given Promise, And then it will return the resulting value or the thrown error.
Promise
The Promise to be executed safely.
A Promise to a Result containing the result of promise or the error it may have thrown.
Result
promise
Generated using TypeDoc
It will try and catch the possible errors during execution of the given
Promise, And then it will return the resulting value or the thrown error.