You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the method signature says Response has to be handled. def toHttpApp(implicit ev: Err <:< Response): HttpApp[Env]
Routes document says
A route of type Route[Env, Throwable], for example, has not handled its errors by converting them into responses. Such unfinished routes cannot yet be converted into HttpApp values. First, you must handle errors with the handleError or handleErrorCause methods.
so this was resolved by handling Error by making Response from Throwable.
but still, it sucks that error has to be shown like that.
source: in trouble-shoot branch, commit #c04748df, these lines
I tried to make a handler with zio.http which takes request as a parameter and parse the body from it,
it cause this error.
it seems like there is a conflict between scala versions.
not sure what's wrong
environment: Windows 10
IDE: IntelliJ 2022.3.1
scala: 3.3.1
ZIO: 2.0.19
wartremover: 3.1.5
whole error below
The text was updated successfully, but these errors were encountered: