ERR

Banking API Error Detective

EXERCISE 01

HTTP Status → Error Object → Classification → try/catch/finally → User Feedback

MISSION

Turn HTTP Failures into Useful Application Errors

An API can respond, yet the business request can still fail. Detect the HTTP status, classify the error, catch it, and show feedback that helps the user.

🧪 API Scenario Simulator

Choose a server response, then run your error-handling code.

💻 BANKING UI
🏦 REST API
HTTP STATUS
—
CLASSIFICATION
—
ERROR OBJECT
—
APP STATE
Ready
User Message: Waiting for request...

🏦 Scenario

The transaction dashboard calls /api/transactions. Your code must reject non-success HTTP responses, create a useful Error, classify the problem, and keep technical details away from end users.

📋 Lab Check

0 / 10

🧭 Guideline Solution

Progress one error-handling step at a time

1 / 9

💻 Code Workspace

Complete loadTransactions()