Closed
Description
Is your feature request related to a problem? Please describe.
I wonder would it possible to have a {#try}
logic block, such that anything goes inside, if error would be handled in the {:catch}
block, eg:
{#try}
<Component />
{:catch}
<div>Fallback uI </div>
{/try}
if an error thrown during init / update in <Component />
, then will see the Fallback UI instead.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
How important is this feature to you?
Note: the more honest and specific you are here the more we will take you seriously.
Additional context
Add any other context or screenshots about the feature request here.