MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / MyError

Class MyError

example_code/item_084.py:52–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50print("Example 1")
51try:
52 class MyError(Exception):
53 pass
54
55 try:
56 raise MyError(123)

Callers 1

item_084.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected