ParseError constructor

ParseError({
  1. int code = otherCause,
  2. String message = 'OtherCause',
  3. Exception? exception,
  4. bool debug = false,
})

Implementation

ParseError(
    {this.code = otherCause,
    this.message = 'OtherCause',
    this.exception,
    bool debug = false}) {
  type = _exceptions[code];
  if (debug) {
    print(toString());
  }
}