MCPcopy Create free account
hub / github.com/ccxt/ccxt / ExtraData

Class ExtraData

python/ccxt/static_dependencies/msgpack/exceptions.py:30–42  ·  view source on GitHub ↗

ExtraData is raised when there is trailing data. This exception is raised while only one-shot (not streaming) unpack.

Source from the content-addressed store, hash-verified

28
29
30class ExtraData(UnpackValueError):
31 """ExtraData is raised when there is trailing data.
32
33 This exception is raised while only one-shot (not streaming)
34 unpack.
35 """
36
37 def __init__(self, unpacked, extra):
38 self.unpacked = unpacked
39 self.extra = extra
40
41 def __str__(self):
42 return "unpack(b) received extra data."
43
44
45# Deprecated. Use Exception instead to catch all exception during packing.

Callers 1

unpackbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…