Module result provides a way to represent a generic result that can be either a success with a value or an error.
result