Custom Validation Error Shape with HttpApi in Effect Typescript
with HttpApi, how can I define a custom shape for validation errors?
on DecodeError in either payload or params, I'd like to send back a custom JSON error response, using the message from the DecodeError.
I couldn't find anything about it in the effect/platform documentation on Github.
on DecodeError in either payload or params, I'd like to send back a custom JSON error response, using the message from the DecodeError.
I couldn't find anything about it in the effect/platform documentation on Github.
