exception documentation
A shell command ran to completion but exited with an unexpected exit code. Its string representation displays the following: - Command executed; - Exit code; - The last 10 lines of stdout, if it was hidden; - The last 10 lines of stderr, if it was hidden and non-empty (e.g. pty=False; when pty=True, stderr never happens.) .. versionadded:: 1.0
Method | __str__ |
Undocumented |
Method | _repr |
Return ``__repr__``-like value from inner result + any kwargs. |
Inherited from Failure
:
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | streams |
Return stdout/err streams as necessary for error display. |
Instance Variable | reason |
Undocumented |
Instance Variable | result |
Undocumented |
overrides
invoke.exceptions.Failure._repr
Return ``__repr__``-like value from inner result + any kwargs.