isError method

bool isError()

Implementation

bool isError() {
  return statusCode == error;
}