Different approaches
Global error handler
14/22
Pros
Easy to implement
Global error handling
Can become quite complex
Cons
Inconsitent styles possible
No local handling of errors possible