mercurial/error.py
changeset 45840 527ce85c2e60
parent 45827 8d72e29ad1e0
child 45877 ac362d5a7893
equal deleted inserted replaced
45839:ebee234d952a 45840:527ce85c2e60
   183 
   183 
   184 class InputError(Abort):
   184 class InputError(Abort):
   185     """Indicates that the user made an error in their input.
   185     """Indicates that the user made an error in their input.
   186 
   186 
   187     Examples: Invalid command, invalid flags, invalid revision.
   187     Examples: Invalid command, invalid flags, invalid revision.
       
   188     """
       
   189 
       
   190 
       
   191 class StateError(Abort):
       
   192     """Indicates that the operation might work if retried in a different state.
       
   193 
       
   194     Examples: Unresolved merge conflicts, unfinished operations.
   188     """
   195     """
   189 
   196 
   190 
   197 
   191 class HookLoadError(Abort):
   198 class HookLoadError(Abort):
   192     """raised when loading a hook fails, aborting an operation
   199     """raised when loading a hook fails, aborting an operation