mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
be51810be5
React File Tree - Validate new folder names and renames GitOrigin-RevId: f040eb08e2daefb3dfd639e18aaef95d7123d727
11 lines
213 B
JavaScript
11 lines
213 B
JavaScript
export class InvalidFilenameError extends Error {
|
|
constructor() {
|
|
super('invalid filename')
|
|
}
|
|
}
|
|
|
|
export class DuplicateFilenameError extends Error {
|
|
constructor() {
|
|
super('duplicate filename')
|
|
}
|
|
}
|