handleException function

void handleException(
  1. AnsiXException exception
)

This method is used to handle AnsiXExceptions that are thrown while using AnsiX.

Implementation

void handleException(final AnsiXException exception) {
// ignore: avoid_print
  print(buildExceptionMessage(exception));
}