e43a4a9
1
2
3
4
5
6
7
8
9
export class HttpError extends Error { constructor(statusCode, message, details) { super(message); this.name = "HttpError"; this.statusCode = statusCode; this.details = details; } }