PyDocs

Nav

Python Runtime Services

BaseExceptionGroup

builtins

exception · Added in 3.11
  • BaseExceptionGroup(msg, excs)
A combination of multiple unrelated exceptions.

The official docs include a CPython implementation detail for this entry.

Members of BaseExceptionGroup

d

derive
Returns an exception group with the same message, but which wraps the exceptions in excs.

e

exceptions
nested exceptions

m

message
exception message

s

split
Like subgroup(), but returns the pair (match, rest) where match is subgroup(condition) and rest is the remaining non-matching part.
subgroup
Returns an exception group that contains only the exceptions from the current group that match condition, or None if the result is empty.
0 Examples
No examples for builtins/BaseExceptionGroup.
See Also
No see-alsos for builtins/BaseExceptionGroup
0 Notes
No notes for BaseExceptionGroup