7f81110
1
2
3
4
5
6
7
8
export class ApiError extends Error { constructor(public status: number, public code: string, message: string) { super(message); this.name = "ApiError"; } }