ErrorCallback is a generic callback interface used for any callback that handles
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
void onFailure(@NotNull TerminalException e)
This method will be called any time the the current operation fails.
e- Any exception thrown while executing the current operation.