canHandleError method

bool canHandleError(
  1. int failPos,
  2. int errorCount
)

Implementation

@pragma('vm:prefer-inline')
bool canHandleError(int failPos, int errorCount) => failPos == this.failPos
    ? errorCount < this.errorCount
    : failPos < this.failPos;