Source code for ralph.git.rebase._invalid_transition_error

"""InvalidTransitionError — raised when an event is invalid in the current state."""

from __future__ import annotations


[docs] class InvalidTransitionError(Exception): """Raised when an event is invalid in the current state."""
__all__ = ["InvalidTransitionError"]