Handling flow via error codes, no more exceptions.