effectful-zoo-0.0.1.0: Effectful effects for testing
Safe HaskellSafe-Inferred
LanguageGHC2021

Effectful.Zoo.Hedgehog.Api.Failure

Documentation

failure :: forall a r. HasCallStack => r <: Hedgehog => Eff r a Source #

failException :: forall a r. HasCallStack => r <: Hedgehog => SomeException -> Eff r a Source #

failWith :: forall a r. HasCallStack => r <: Hedgehog => Maybe Diff -> String -> 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 #