scripts/release/error.py
changeset 1849 f8728d5e2e07
parent 1835 3f30b7b14c57
child 1888 ef350db7f753
equal deleted inserted replaced
1848:a0cae3be1412 1849:f8728d5e2e07
    18     ]
    18     ]
    19 
    19 
    20 
    20 
    21 class Error(Exception):
    21 class Error(Exception):
    22   """Base class for release script exceptions."""
    22   """Base class for release script exceptions."""
       
    23 
       
    24 
       
    25 class ObstructionError(Error):
       
    26   """An operation was obstructed by existing data."""
       
    27 
       
    28 
       
    29 class ExpectationFailed(Error):
       
    30   """An unexpected state was encountered by an automated step."""