aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-01 11:56:38 -0800
committerZeyla Hellyer <[email protected]>2018-01-01 11:56:38 -0800
commitbe43836839a31714f58e3ffe81dd4b0aeab2ab59 (patch)
treedfcd79318f8c94c022d0deb4b65d092a91fe00cf /src/framework
parentAdd an event for shard updates (diff)
downloadserenity-be43836839a31714f58e3ffe81dd4b0aeab2ab59.tar.xz
serenity-be43836839a31714f58e3ffe81dd4b0aeab2ab59.zip
Give hyper Response in HTTP errors
Remove the `Error::UnknownStatus` variant, and change `Error::InvalidRequest(StatusCode)` to `Error::UnsuccessfulRequest(hyper::Response)`. This is done to give the user more information on why a request was unsuccessful, as before the user did not have access to the response body or headers.
Diffstat (limited to 'src/framework')
0 files changed, 0 insertions, 0 deletions