Error

See the Error module in the official reference and Async Programming for an example of working with Errors.