CLI command error that includes the error code in addition to the standard error message.
| 63 | |
| 64 | |
| 65 | class CLIError(Exception): |
| 66 | """CLI command error that includes the error code in addition to the |
| 67 | standard error message.""" |
| 68 | |
| 69 | def __init__(self, message, code): |
| 70 | super().__init__(message) |
| 71 | self.code = code |
| 72 | |
| 73 | |
| 74 | def deprecated_option(msg: Optional[str] = None, update: Optional[str] = None) -> abc.Callable: |
no outgoing calls
no test coverage detected