docs: def get_body(self, environ=None):
          """Get the request body."""
          body = dict(
              status=self.code,
              message=self.get_description(environ),
          )
  
          errors = self.get_errors()
          if self.errors:
              body['errors'] = errors
  
          if self.code and (self.code >= 500) and hasattr(g, 'sentry_event_id'):
              body['error_id'] = str(g.sentry_event_id)
  
          return json.dumps(body)