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

Public Member Functions

 __init__ (self, *params)
 
 __str__ (self)
 

Public Attributes

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

Detailed Description

Reading or peeking past the end of a bitstring.

Definition at line 104 of file bitstring.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* params )

Definition at line 107 of file bitstring.py.

107 def __init__(self, *params):
108 Error.__init__(self, *params)
109
110

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: