interface InvalidFilenameErrorOptions {
    filename: string;
    reason: InvalidFilenameErrorReason;
    segment: string;
}

Properties

filename: string

The filename that was validated

Reason why the validation failed

segment: string

Part of the filename that caused this error