- Catch non CLI exceptions and translate to CLI exceptions with error codes. - Organize and document error codes.