Created
April 4, 2019 07:40
-
-
Save jzxhuang/b743498f81f017799104ca1b56ac88c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expectStringResponse : (Result x a -> msg) -> (Response String -> Result x a) -> Expect msg | |
type Response body | |
= BadUrl_ String | |
| Timeout_ | |
| NetworkError_ | |
| BadStatus_ Metadata body | |
| GoodStatus_ Metadata body | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment