pub trait WithCodeResultExt<T> { fn with_code(self, code: Code) -> Result<T, Exit>; }
Extension for converting errors to Exit.
Exit
Convert an Error into an Exit