MessageTopics commit their data onto global state even if the execution fails, which makes them the perfect candidate to use for error logging in case more expansive details are required about the source of an error than what the u16 error codes can confer.
Do not use in unwrap_or_revert_with because they will trigger even if there was no error to unwrap,
instead consider the following application
MessageTopics commit their data onto global state even if the execution fails, which makes them the perfect candidate to use for error logging in case more expansive details are required about the source of an error than what the u16 error codes can confer.
Do not use in
unwrap_or_revert_with
because they will trigger even if there was no error to unwrap, instead consider the following applicationthis will prevent false positive error messages.