Change error translator to return message instead of code if available