mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
at verify-code 13 lines 287 B view raw
1export class VideoTooLargeError extends Error { 2 constructor() { 3 super('Videos cannot be larger than 100MB') 4 this.name = 'VideoTooLargeError' 5 } 6} 7 8export class ServerError extends Error { 9 constructor(message: string) { 10 super(message) 11 this.name = 'ServerError' 12 } 13}