def handle_exception(self, message, exc):
        # type: (Text, Exception) -> Any
        """
        Handles an uncaught exception.
        """
        return self.handle_invalid_value(
            message     = message,
            exc_info    = True,
            context     = getattr(exc, 'context', {}),
        )
Handles an uncaught exception.