require helps in validating user inputs before an action can be taken. However, it seems not many options exist to handle the scenario when
require indeed returns
false. The example mentioned in this answer uses Events that are fired after testing an
if condition. This answer bluntly says that it is not possible to handle
revert (even though the question was about
require) from the front-end.
So, is it possible to consume a
false outcome at all? Or, can it be piped into an Event that can be consumed in a