An error arising from the parsing of command-line flags/arguments. Ambiguous input, invalid task names, invalid flags, etc. .. versionadded:: 1.0
| 189 | |
| 190 | |
| 191 | class ParseError(Exception): |
| 192 | """ |
| 193 | An error arising from the parsing of command-line flags/arguments. |
| 194 | |
| 195 | Ambiguous input, invalid task names, invalid flags, etc. |
| 196 | |
| 197 | .. versionadded:: 1.0 |
| 198 | """ |
| 199 | |
| 200 | def __init__( |
| 201 | self, msg: str, context: Optional["ParserContext"] = None |
| 202 | ) -> None: |
| 203 | super().__init__(msg) |
| 204 | self.context = context |
| 205 | |
| 206 | |
| 207 | class Exit(Exception): |
no outgoing calls
no test coverage detected
searching dependent graphs…