Exception Handling and Exit Codes — Click Documentation (8.4.x)