code: def extern_create_exception(self, context_handle, msg_ptr, msg_len):
      
      c = self._ffi.from_handle(context_handle)
      msg = self.to_py_str(msg_ptr, msg_len)
      return c.to_value(Exception(msg))
docs: Given a utf8 message string, create an Exception object.