Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
fromReqT :: forall a b res failure specific m. (From a b, 'False ~ (a == b), GrpcRes res failure specific, Monad m) => ReversedFieldLocation -> Maybe a -> ExceptT res m b Source #
fromReqE :: forall a b res failure specific. (From a b, 'False ~ (a == b), GrpcRes res failure specific) => ReversedFieldLocation -> Maybe a -> Either res b Source #
newGenFailure :: forall res failure specific. GrpcRes res failure specific => InputFailureKind -> ReversedFieldLocation -> res Source #
newSpecFailure :: forall res failure specific. GrpcRes res failure specific => specific -> res Source #
newInternalFailure :: forall res failure specific. GrpcRes res failure specific => FailureInternal -> res Source #
throwSpec :: forall a res failure specific m. (GrpcRes res failure specific, Monad m) => specific -> ExceptT res m a Source #
type GrpcRes res failure specific = (HasField res "ctx" Ctx, HasField res "failure" failure, HasField failure "generic" [InputFailure], HasField failure "specific" [specific], HasField failure "internal" [InternalFailure], Message res, Message failure) Source #