Hi!
sttp in both major versions has its own MonadError[F] definition and its implementations (doc). Meanwhile, cats already have a definition of MonadError[F, T], which is generalization of sttp's typeclass for T=Throwable doc.
In my code where I have to use both of these type classes for my own type constructors, and I feel like defining instances for both of them is a bit anti-ergonomic. Would it be too bad for sttp to depend on cats-core and its type classes?
Hi!
sttp in both major versions has its own
MonadError[F]definition and its implementations (doc). Meanwhile, cats already have a definition ofMonadError[F, T], which is generalization of sttp's typeclass forT=Throwabledoc.In my code where I have to use both of these type classes for my own type constructors, and I feel like defining instances for both of them is a bit anti-ergonomic. Would it be too bad for sttp to depend on cats-core and its type classes?