Is there a way to delegate a BodyParsingError for a particular route?


#1

Hi,

I’d like to set a particular status code for a given route when the posted body is an invalid json. Is there a way to delegate the exception? Or should I do that otherwise?

Thanks in advance for the help.