Error message for exceptions thrown while executing a command