Supply error codes (Fixes #11)