Different approaches
Exit and die
10/22
Pros
Easy to implement
"The short way out"
Cons
No possibility to handle the error
No possibility to exit cleanly
No layouting / design possible (web)
Possily inconsistent messages / codes