CrownFramework / svelte-error-boundary

Error Boundaries for Svelte

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working with <slot />

jakobrosenberg opened this issue · comments

Any chance this is doable?

<!-- MyWidget.svelte -->
<script>
  import {Boundary} from "@crownframework/svelte-error-boundary";
</script>
  
<Boundary onError={console.log}>
  <slot />
</Boundary>

Right you are. I'm not sure why I got different results.

Thanks for quick reply.