libretro.error¶
Exception types raised by libretro.py’s drivers and core wrapper.
Exceptions
Wraps an exception raised inside a callback invoked by the core. |
|
Aggregates multiple |
|
Raised when an operation is attempted on a core that has been shut down. |
|
Raised by a driver to signal that it does not support an environment call. |
- exception UnsupportedEnvCall[source]¶
Bases:
ExceptionRaised by a driver to signal that it does not support an environment call.
- classmethod __new__(*args, **kwargs)¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception CoreShutDownException[source]¶
Bases:
ExceptionRaised when an operation is attempted on a core that has been shut down.
- classmethod __new__(*args, **kwargs)¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception CallbackException[source]¶
Bases:
RuntimeErrorWraps an exception raised inside a callback invoked by the core.
- classmethod __new__(*args, **kwargs)¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception CallbackExceptionGroup[source]¶
Bases:
ExceptionGroupAggregates multiple
CallbackExceptioninstances raised within one frame.- __init__(message, exceptions)[source]¶
Construct the group with a human-readable
messageand the wrappedexceptions.
- static __new__(cls, message, exceptions)[source]¶
Construct the group via
ExceptionGroup’s__new__(required for subclassing).
- add_note(note, /)¶
Add a note to the exception
- args¶
- derive(excs, /)¶
- exceptions¶
nested exceptions
- message¶
exception message
- split(matcher_value, /)¶
- subgroup(matcher_value, /)¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.