Refactor determining server error type when deserializing an `@httpPayload` (#3752)
Determining the error type when deserializing an `@httpPayload` is a protocol-specific concern, and as such should not live in `ServerHttpBoundProtocolGenerator`, which should remain protocol-agnostic. This commits makes that determination part of the `ServerProtocol` interface. As a drive-by improvement, the companion object in `ServerHttpBoundProtocolGenerator` has also been removed, since its members have been unused for a long time. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Loading
Please register or sign in to comment