protected Console.ErrorHandler wrapErrorHandler(final Console.ErrorHandler handler) {
return new Console.ErrorHandler() {
public Result handleError(Throwable error) {
if (closed) {
throw new ExitNotification();
} else if (error instanceof NotFoundException) {
// Spit out the terse reason why we've failed
io.err.println("@|bold,red ERROR| Command not found: @|bold,red " + error.getMessage() + "|");
return Result.CONTINUE;
} else {