Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Effectful.Zoo.Hedgehog.Api.Failure
Documentation
failException :: forall a r. HasCallStack => r <: Hedgehog => SomeException -> Eff r a Source #
failWithCallStack :: forall a r. r <: Hedgehog => CallStack -> Maybe Diff -> String -> Eff r a Source #
catchAssertion :: forall a r. HasCallStack => r <: Hedgehog => Eff r a -> (Failure -> Eff r a) -> Eff r a Source #
throwAssertion :: forall a r. HasCallStack => r <: Hedgehog => Failure -> Eff r a Source #