How can one invoke lua_pcall and get the errors back?

How can one invoke lua_pcall and get the errors back?