Package pybaz :: Module errors :: Class NamespaceError
[frames] | no frames]

Class NamespaceError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              NamespaceError

Invalid Arch namespace name, or incorrect kind of name.

A value that does not make sense in the Arch namespace was
provided, or the wrong kind of name was used, for example a
revision where a patchlevel is expected.



Instance Methods
 
__init__(self, name, expected=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, name, expected=None)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: exceptions.Exception.__init__
(inherited documentation)