You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say we attach some API calls for RefundTransactionEvent to make refund happen. But, there is an error. Right now this event does not have isValid property, so we need to just throw an exception. But that makes the error page show up in control panel.
It would be great if we could send some error message to show in alert/modal instead. Or maybe it is possible in some other way?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Let's say we attach some API calls for
RefundTransactionEvent
to make refund happen. But, there is an error. Right now this event does not haveisValid
property, so we need to just throw an exception. But that makes the error page show up in control panel.It would be great if we could send some error message to show in alert/modal instead. Or maybe it is possible in some other way?
Beta Was this translation helpful? Give feedback.
All reactions