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
Hoep you've been well. I want to get access to the onError object as per the documentation so I can pass a custom call back to handle the error. However, I cannot seem to access the call back at all, even with just a simple console.log in the call back. Your help would be appreciated.
Cheers
[x ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[x ] I have read the documentation and cannot find an answer.
Describe the bug
Cannot get access to the error payload object with the onError call back.
Hi Petyo,
Hoep you've been well. I want to get access to the
onError
object as per the documentation so I can pass a custom call back to handle the error. However, I cannot seem to access the call back at all, even with just a simple console.log in the call back. Your help would be appreciated.Cheers
Describe the bug
Cannot get access to the error payload object with the
onError
call back.Reproduction
https://codesandbox.io/p/sandbox/mdx-editor-catch-all-plugin-forked-qg8fdl?file=%2Fsrc%2FApp.tsx%3A14%2C11
To Reproduce
Steps to reproduce the behavior:
onError
Expected behavior
console.log of the error object
Additional context
Using next.js
The text was updated successfully, but these errors were encountered: