Defining a Global Error Handler for HttpApi

Is there a way to define a "global" error handler for HttpApi? Im thinking mapping defects to a 500 status with some default response body (rn its an empty body)
Was this page helpful?