assertSuccess method

void assertSuccess()

Implementation

void assertSuccess() {
  if (!success) throwError();
}