kivik icon indicating copy to clipboard operation
kivik copied to clipboard

Replace StatusCode with HTTPStatus

Open flimzy opened this issue 5 years ago • 1 comments

StatusCode is fairly generic, so I'd like to replace the StatusCode method (both the package version, and the error interface version) with HTTPStatus.

Adding this to v3 should be easy, with a deprecation notice for final removal in v4.

flimzy avatar May 02 '20 15:05 flimzy

This will require renaming the Error.HTTPStatus field, so there's not a conflict between the field and the method. sigh

flimzy avatar May 02 '20 15:05 flimzy

Fixed with #590

flimzy avatar Apr 30 '23 19:04 flimzy