reapy package¶
Submodules¶
reapy.errors module¶
Define custom errors.
-
exception
reapy.errors.InvalidObjectError(object)[source]¶ Bases:
ExceptionRaised 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
objectattribute.Parameters: object (ReapyObject) – Object that caused the error. Notes
Most reapy objects have a
has_valid_idproperty that allows to check for its validity.