error method

void error ({int index, String type, String message, String filename })

Implementation

void error({int index, String type, String message, String filename}) {
  throw new LessExceptionError(new LessError(
       index: index,
       type: type,
       message: message,
       filename: filename));
}