reapy package¶
Submodules¶
reapy.errors module¶
Define custom errors.
-
exception
reapy.errors.
InvalidObjectError
(object)[source]¶ Bases:
Exception
Raised when an object with invalid ID has tried to access REAPER.
Common causes of this error are closing REAPER or deleting the object referred to by the aforementioned ID.
The object that caused this error is available as its
object
attribute.Parameters: object (ReapyObject) – Object that caused the error. Notes
Most reapy objects have a
has_valid_id
property that allows to check for its validity.