Simple error handling in CLI