I used the code:
try
{
//something
}
catch (exception &e)
{
//catch action
}
is it possible to send the catch information to the user while in debu mode? other then saying that the error was in plugin XYZ I wanted it to say for example: "Bad use of function K, no valid file was selected".. thank you in advance