Improved dispatchers with richer results and added predicate and regular expression based dispatchers
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user