Use Error rather than String type errors