Package perforce :: Module objects :: Class CommandError
[frames] | no frames]

Class CommandError



              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
               api.PerforceError --+
                                   |
                                  CommandError

Exception raised when a Perforce command fails.

Instance Methods
 
__init__(self, command, errors)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__str__(self)
str(x)

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __reduce__, __repr__, __setattr__, __setstate__

Inherited from object: __hash__, __reduce_ex__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, command, errors)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: exceptions.Exception.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 
str(x)
Overrides: exceptions.BaseException.__str__
(inherited documentation)