1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 02:01:13 +00:00
thefuck/thefuck/exceptions.py
2017-08-25 11:44:07 +02:00

11 lines
248 B
Python

class EmptyCommand(Exception):
"""Raised when empty command passed to `thefuck`."""
class NoRuleMatched(Exception):
"""Raised when no rule matched for some command."""
class ScriptNotInLog(Exception):
"""Script not found in log."""