Tankōbon / shared/file-name-template / fileNameTemplateError
Function: fileNameTemplateError()
fileNameTemplateError(
template):"length"|"separator"|"braces"|null
Defined in: shared/file-name-template.ts:24
Why template can't be a file name template, or null when it can: separator for a / or \ (it names a file, not folders), braces for a { or } outside a known field ({serie}, {), length beyond MAX_FILE_NAME_TEMPLATE_LENGTH. The empty template is valid: it keeps the original file names.
Parameters
template
string
Returns
"length" | "separator" | "braces" | null