Handle Errors with Elm’s Result Type
The Result type represents the outcome of an operation that may result in an error.
The documentation is available here. To follow along, get the Elm REPL. If you would like to try it out in your browser check out the Elm REPL here