kamiazya / rediagram

Markup and draw your system diagrams with React.
https://rediagram.js.org
MIT License
165 stars 10 forks source link

Add error handling #133

Open kamiazya opened 3 years ago

kamiazya commented 3 years ago

Is your feature request related to a problem? Please describe.

The exceptions of the rediagram component cannot be handled and the error is difficult to understand.

Describe the solution you'd like

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.

Additional context

Display known errors such as useAssertProvider in an easy-to-understand manner.

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.