All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala-http4s.errorResponsePart.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{#dataType}}case r if r.status.code == {{code}} => parseJson[F, {{dataType}}]("{{dataType}}", r).flatMap(res => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason, Some(res.asJson)))){{/dataType}}{{^dataType}}case r if r.status.code == {{code}} => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)){{/dataType}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy