Closed ckeboss closed 4 years ago
Hi @ckeboss, if this feature is helpful our userbase then yes, I'll be happy to integrate the pull request. I'll also appreciate if you found the time to enrich the readme. Concerning the implementation, I don't think the series
property shall be inside extra
. extra
children are meant to enrich existing status code by merging them. In cour case, series
codes are not HTTP code. I propose to move series
at the parent level which would give status.series.CLIENT_ERROR
for exemple.
Would you be interested in a pull request including the status code series? Spring does this with it's
HttpStatus
utility: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/HttpStatus.Series.htmlSomething like
Would allow functionality such as: