EffectWriteError constructor

EffectWriteError(
  1. Effect effect
)

Implementation

EffectWriteError(Effect effect) {
  throw Exception("""
A signal is being written to within the effect ${effect.toString()} but the
signal was declared with the setting EffectMutation.error. It is unsafe to write
to this signal inside an effect.
""");
}