Creates a WritableSignal in an "error" state.
WritableSignal
If .get() is called before the Signal's value is updated, then error is thrown.
.get()
error
Optional
Creates a
WritableSignal
in an "error" state.If
.get()
is called before the Signal's value is updated, thenerror
is thrown.