Interfaces and error handling
Use interfaces and error handling to make decisions inspectable.
What you should be able to do
Independently: Define inputs, outputs and failures for one function or API.
Suggested prerequisites
A short guide
Use interfaces and error handling to make decisions inspectable. Define inputs, outputs and failures for one function or API. Read the indicated source section, identify its key concepts and conditions, and work through the example. Record inputs, sources, units and assumptions. Keep your method separate from the result, mark unanswered questions, and review the output against the checklist.
An example
Invalid input should be distinguishable from system failure.
Your task
Define inputs, outputs and failures for one function or API.
Start with this source
Read the indicated section relevant to interfaces and error handling and complete the applied task.
This source is awaiting renewed review. Try the task above and adjacent skills; reviewed sources will appear here.
Your learning checklist
Required items: 0 / 10 completed or already known
Next: Read a role through its responsibilities
Checklist statuses are self-reported; exercise scores are recorded separately. You can reset any item.
Try a practice set
Calculations and choices receive immediate checks. Review open responses yourself against the rubric. All examples are educational.