Allow errors to be arrays