MCPcopy Index your code
hub / github.com/dmlc/dgl / KeyErrorMessage

Class KeyErrorMessage

python/dgl/utils/exception.py:20–24  ·  view source on GitHub ↗

r"""str subclass that returns itself in repr

Source from the content-addressed store, hash-verified

18
19
20class KeyErrorMessage(str):
21 r"""str subclass that returns itself in repr"""
22
23 def __repr__(self): # pylint: disable=invalid-repr-returned
24 return self
25
26
27class ExceptionWrapper(object):

Callers 1

reraiseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected