Last active
October 14, 2020 07:29
-
-
Save dariathecracker/d22f3cf5ce8e999b9d6b9b6ed0a378d6 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
endpoint.errorOut( oneOf[String]( | |
statusMapping(StatusCode.Unauthorized, stringBody), | |
statusMapping(StatusCode.BadRequest, stringBody) ) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment