Skip to content

Commit

Permalink
better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTriple committed Sep 26, 2023
1 parent b85d635 commit 1c8f53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zio/http/Request.scala
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ final case class Request(
* Uses the cookie with the given name if it exists and runs `f` with the
* cookie afterwards.
*
* Also, you can set a custom failure value from an absent cookie with `E`.
* Also, you can set a custom failure value from a missing cookie with `E`.
*/
def cookieWithOrFail[R, E, A](name: String)(missingCookieError: E)(f: Cookie => ZIO[R, E, A])(implicit
trace: Trace,
Expand Down

0 comments on commit 1c8f53b

Please sign in to comment.