Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Backend failing statements of Indigo.
Documentation
failWith :: NiceConstant a => Expr a -> IndigoState s t Source #
failUsing_ :: (IsError x, Buildable x) => x -> IndigoState s t Source #
failCustom :: forall tag err s t. (MustHaveErrorArg tag (MText, err), CustomErrorHasDoc tag, NiceConstant err) => Label tag -> Expr err -> IndigoState s t Source #
failCustom_ :: forall tag s t. (MustHaveErrorArg tag (MText, ()), CustomErrorHasDoc tag) => Label tag -> IndigoState s t Source #
failCustomNoArg :: forall tag s t. (MustHaveErrorArg tag MText, CustomErrorHasDoc tag) => Label tag -> IndigoState s t Source #
failUnexpected_ :: MText -> IndigoState s t Source #