MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

pager_lib/pyasn1/error.py:87–90  ·  view source on GitHub ↗
(self, message, unicode_error=None)

Source from the content-addressed store, hash-verified

85 :class:`UnicodeError` to help the caller catching unicode-related errors.
86 """
87 def __init__(self, message, unicode_error=None):
88 if isinstance(unicode_error, UnicodeError):
89 UnicodeError.__init__(self, *unicode_error.args)
90 PyAsn1Error.__init__(self, message)
91
92
93class PyAsn1UnicodeDecodeError(PyAsn1UnicodeError, UnicodeDecodeError):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected