Aborts the execution of the program with a specific error message. :param message: the error message to fail with.
(self, message: str)
| 801 | return value |
| 802 | |
| 803 | def fail(self, message: str) -> t.NoReturn: |
| 804 | """Aborts the execution of the program with a specific error |
| 805 | message. |
| 806 | |
| 807 | :param message: the error message to fail with. |
| 808 | """ |
| 809 | raise UsageError(message, self) |
| 810 | |
| 811 | def abort(self) -> t.NoReturn: |
| 812 | """Aborts the script.""" |