Files
bsky-social-app/src/lib/media/video/errors.ts
T
2026-05-26 09:23:43 -05:00

21 lines
428 B
TypeScript

export class VideoTooLargeError extends Error {
constructor() {
super('Videos cannot be larger than 300 MB')
this.name = 'VideoTooLargeError'
}
}
export class ServerError extends Error {
constructor(message: string) {
super(message)
this.name = 'ServerError'
}
}
export class UploadLimitError extends Error {
constructor(message: string) {
super(message)
this.name = 'UploadLimitError'
}
}