REGAPIC: which exception should be thrown if transcoding fails? #659
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
If a request is invalid in a way that makes transcoding fail (e.g. it's missing a required field, or that field's value is inappropriate) we currently throw an ArgumentException. If the request can be transcoded, but is otherwise invalid, the server will fail instead and we'll get an RpcException. Should we create an "artificial" RpcException instead in this case?
The text was updated successfully, but these errors were encountered: