export class AuthError extends Error { constructor ( public code , public message , public title ? ) { super ( `HTTP-Code: ${ code }` ) ; this . message = message ; this . title = title || 'Meer resultaten na inloggen' ; } } export class NotFoundError extends Error { constructor ( public code , public message , public title ? ) { super ( `HTTP-Code: ${ code }` ) ; this . message = message ; } } export class ForbiddenError extends Error { constructor ( public code , public message , public title ? ) { super ( `HTTP-Code: ${ code }` ) ; this . message = message ; } }