Detailed error codes

Return the detailed error code w/ unknown_error