{#if $stateStore.error instanceof Error}

Diagram syntax error

{$stateStore.error?.toString()}
{/if}