From 574dd241f91f5f1e9ebc1c4f33c86013d2f55d48 Mon Sep 17 00:00:00 2001 From: Steven Bone Date: Wed, 28 Aug 2019 11:14:12 -0500 Subject: [PATCH] Fix comment typo --- src/Http.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http.elm b/src/Http.elm index 62dbf1a..68c564c 100644 --- a/src/Http.elm +++ b/src/Http.elm @@ -579,7 +579,7 @@ your own [`expectJson`](#expectJson) like this: Err (Http.BadBody (D.errorToString err)) This function is great for fancier error handling and getting response headers. -For example, maybe when your sever gives a 404 status code (not found) it also +For example, maybe when your server gives a 404 status code (not found) it also provides a helpful JSON message in the response body. This function lets you add logic to the `BadStatus_` branch so you can parse that JSON and give users a more helpful message! Or make your own custom error type for your particular