Closed ghost closed 6 years ago
So, as described by the documentation, the functions are best in different scenarios.
require
: perform checks on inputs into the function, or external variables
assert
: perform checks on internal values or variables in the function
revert
: is an alias for throw, the original call to cancel transaction and revert all state changes.
Hope this helps
Sorry, I mean I think the message should link to the documentation, or give the information you have in your comment.