mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
e1ffeef06a
[ReactFileTree] Move & Rename Validation Fixes GitOrigin-RevId: 30c2ff17454246c82a03d0b869a810048c9f5dad
23 lines
439 B
JavaScript
23 lines
439 B
JavaScript
export class InvalidFilenameError extends Error {
|
|
constructor() {
|
|
super('invalid filename')
|
|
}
|
|
}
|
|
|
|
export class BlockedFilenameError extends Error {
|
|
constructor() {
|
|
super('blocked filename')
|
|
}
|
|
}
|
|
|
|
export class DuplicateFilenameError extends Error {
|
|
constructor() {
|
|
super('duplicate filename')
|
|
}
|
|
}
|
|
|
|
export class DuplicateFilenameMoveError extends Error {
|
|
constructor() {
|
|
super('duplicate filename on move')
|
|
}
|
|
}
|