onError
This callback is invoked in case of errors that are not tied to a specific purchase or restore flow, e.g. errors during the screen rendering process.
Parameters
error
An AdaptyError object representing the error.
context
A UI Context within which the event occurred.