Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11
/
refs/heads/upstream/pre-commit-ci-update-config
/
.
/
tests
/
custom_exceptions.py
blob: b1a092d7615faa8c049a66f3551324d77d20cf98 [
file
] [
log
] [
blame
] [
edit
]
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