Handling Errors5:32 with Guil Hernandez
What would happen if a fetch gets rejected or returns in a failed state? To handle these types of errors, you use the
catch() method, which deals with rejected cases only.
You need to sign up for Treehouse in order to download course files.Sign up