Improved dispatchers with richer results and added predicate and regular expression based dispatchers

This commit is contained in:
2026-04-12 19:12:00 +02:00
parent 225990b22d
commit cf1abadfc9
8 changed files with 173 additions and 28 deletions

View File

@@ -46,6 +46,6 @@ export function *indented_line_iterator(settings, text) {
break;
}
default:
throw new Error('Unsupported indention mode'); //TODO - proper error
throw new Error(`Unsupported indention mode: ${settings.indention_mode}`); //TODO - proper error
}
}