Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11
/
c19c291b98a33b231e6d9cd1ffc33dc4420d3f63
/
.
/
tests
/
custom_exceptions.py
blob: b1a092d7615faa8c049a66f3551324d77d20cf98 [
file
]
from
__future__
import
annotations
class
PythonMyException7
(
Exception
):
def
__init__
(
self
,
message
):
self
.
message
=
message
super
().
__init__
(
message
)
def
__str__
(
self
):
return
"[PythonMyException7]: "
+
self
.
message
.
a