Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

Provides a monad for error handling. Okay, I confess it's equal to ErrorT... You should use that one.

# Documentation

The error handling monad.

#### Instances

Monad m => MonadError e (FailT e m) Source # | |

Defined in Data.Chatty.Fail throwError :: e -> FailT e m a # catchError :: FailT e m a -> (e -> FailT e m a) -> FailT e m a # | |

MonadTrans (FailT e) Source # | |

Defined in Data.Chatty.Fail | |

Monad m => Monad (FailT e m) Source # | |

Monad m => Functor (FailT e m) Source # | |

Monad m => Applicative (FailT e m) Source # | |