[Beta] - Get error context with onContentError event? #5270
-
Hi, Thanks for this awesome library! It's firing properly as expected (with The error message itself seems generic - CC: @nperez0111 - #5178 Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @stpp2 Unfortunately with the way that it is implemented right now for HTML, we only check that some content did not match any schema. I could see how knowing that info would be useful though. I wonder how to provide that information to you though. Since it is implemented as an error we have |
Beta Was this translation helpful? Give feedback.
-
Ahh I see, thanks! The Thanks again for the help! |
Beta Was this translation helpful? Give feedback.
Yea error.cause only gives something when the input is JSON. I can extend the HTML handler to include a tag name to match what the JSON one does