errors as array or object