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