![]() # Objective Make it clear to the user why their program is failing rather than having an unhelpful `called Option::unwrap() on a None value` message. ## Solution Change the `unwrap()` calls to `expect()` calls, mirroring previously implemented error messages. ## Testing I have not tested these changes, but they are fairly trivial so I do not necessarily feel they need it. |
||
---|---|---|
.. | ||
state | ||
app.rs | ||
commands.rs | ||
condition.rs | ||
lib.rs | ||
reflect.rs | ||
state_scoped_events.rs | ||
state_scoped.rs |