Exceptions - libvcs.exc
¶
Exceptions for libvcs.
- exception libvcs.exc.LibVCSException[source]¶
Bases:
Exception
Standard exception raised by libvcs.
- exception libvcs.exc.CommandError(output, returncode=None, cmd=None)[source]¶
Bases:
LibVCSException
Raised on non-zero return codes.
- message = 'Command failed with code {returncode}: {cmd}'¶
- exception libvcs.exc.CommandTimeoutError(output, returncode=None, cmd=None)[source]¶
Bases:
CommandError
CommandError which gets raised when a subprocess exceeds its timeout.
- exception libvcs.exc.InvalidVCS[source]¶
Bases:
LibVCSException
Invalid VCS.