<s> from libcloud . common . types import LibcloudError <EOL> class Provider ( object ) : <EOL> """<STR_LIT>""" <EOL> DUMMY = <NUM_LIT:0> <EOL> CLOUDFILES_US = <NUM_LIT:1> <EOL> CLOUDFILES_UK = <NUM_LIT:2> <EOL> class ContainerError ( LibcloudError ) : <EOL> error_type = '<STR_LIT>' <EOL> def __init__ ( self , value , driver , container_name ) : <EOL> self . container_name = container_name <EOL> super ( ContainerError , self ) . __init__ ( value = value , driver = driver ) <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . error_type , repr ( self . driver ) , <EOL> self . container_name ) <EOL> class ObjectError ( LibcloudError ) : <EOL> error_type = '<STR_LIT>' <EOL> def __init__ ( self , value , driver , object_name ) : <EOL> self . object_name = object_name <EOL> super ( ObjectError , self ) . __init__ ( value = value , driver = driver ) <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . error_type , repr ( self . driver ) , <EOL> self . object_name ) <EOL> class ContainerAlreadyExistsError ( ContainerError ) : <EOL> error_type = '<STR_LIT>' <EOL> class ContainerDoesNotExistError ( ContainerError ) : <EOL> error_type = '<STR_LIT>' <EOL> class ContainerIsNotEmptyError ( ContainerError ) : <EOL> error_type = '<STR_LIT>' <EOL> class ObjectDoesNotExistError ( ObjectError ) : <EOL> error_type = '<STR_LIT>' <EOL> class ObjectHashMismatchError ( ObjectError ) : <EOL> error_type = '<STR_LIT>' <EOL> class InvalidContainerNameError ( ContainerError ) : <EOL> error_type = '<STR_LIT>' </s>
