Which method allows handling errors in promises?
catch()
then()
resolve()
finally()
This question is part of this quiz :