export class AdminServiceError extends Error { status: 400 | 403 | 404; constructor(message: string, status: 400 | 403 | 404 = 400) { super(message); this.status = status; this.name = 'AdminServiceError'; } }