Different approaches
Returning error codes
12/22
Pros
Easy to implement
Global error message definition
Cons
Much work checking for errors
Returning integers (strings) very hard
Inconsitent styles possible
Error messages hardly customizeable