Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TaskStatus
- = Successful ()
- | Terminated ()
- | Exceptional Text
Documentation
data TaskStatus Source #
Similar to a process exit code.
User feedback in case of an error must be communicated out of band
Successful () | Everything was ok. |
Terminated () | We did what we could but dependents can not continue. |
Exceptional Text | Some assumption in the software failed. |