Method throwError simplified