InvalidOperationError is a custom error class that extends the standard Error object.
It represents an error that occurs when an invalid operation is attempted on one of
objects returned by the API. For example, trying to iterate on an object that was
configured with a callback.
InvalidOperationError
Param: message
The error message that explains the reason for the error.
Param: options
Optional parameter to provide additional error options.
InvalidOperationError is a custom error class that extends the standard Error object. It represents an error that occurs when an invalid operation is attempted on one of objects returned by the API. For example, trying to iterate on an object that was configured with a callback.
InvalidOperationError
Param: options
Optional parameter to provide additional error options.