Belle II Software development
CreationError Class Reference
Inheritance diagram for CreationError:
Error

Public Member Functions

 __init__ (self, *params)
 
 __str__ (self)
 

Public Attributes

str msg = params[0] if params else ''
 
 params = params[1:]
 

Detailed Description

Inappropriate argument during bitstring creation.

Definition at line 125 of file bitstring.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* params )

Definition at line 128 of file bitstring.py.

128 def __init__(self, *params):
129 Error.__init__(self, *params)
130
131

Member Function Documentation

◆ __str__()

__str__ ( self)
inherited

Definition at line 98 of file bitstring.py.

98 def __str__(self):
99 if self.params:
100 return self.msg.format(*self.params)
101 return self.msg
102
103

Member Data Documentation

◆ msg

str msg = params[0] if params else ''
inherited

Definition at line 95 of file bitstring.py.

◆ params

params = params[1:]
inherited

Definition at line 96 of file bitstring.py.


The documentation for this class was generated from the following file: