docs: def render(self, context=None):
          """Renders the error message, optionally using the given context (which, if specified,
          will override the internal context)."""
          ctx = context.render() if context else self.get_error_context().render()
          return "%s: %s%s%s" % (
              self.get_error_kind(),
              self.get_error_message(),
              (" (%s)." % ctx) if ctx else "",
              self.get_additional_error_detail()
          )