error message array added to error method