xmidt-org / tr1d1um

Tr1d1um is the Webpa micro-service that encode TR-181 requests.
Apache License 2.0
12 stars 12 forks source link

Improve error messages for WDMP SET commands #151

Open joe94 opened 4 years ago

joe94 commented 4 years ago

https://github.com/xmidt-org/tr1d1um/blob/master/translation/errors.go#L16 ^ An example of an error message that's not helpful at all with respect to which part of the request was invalid.

joe94 commented 4 years ago

During team discussions, it was suggested that a structured error body should be preferred when reporting more complex validation errors.