penyesuaian UI cooming soon

This commit is contained in:
2024-06-13 23:01:28 +07:00
parent 33007acc77
commit 863a493b66
22 changed files with 527 additions and 441 deletions

View File

@@ -14,6 +14,12 @@ export class HttpErrorInterceptorService {
catchError((error: HttpErrorResponse) => {
if (error.status === 403) {
this.router.navigate(['/error/error403']);
} else if (error.status === 404) {
this.router.navigate(['/error/error404']);
} else if (error.status === 500) {
this.router.navigate(['/error/error500']);
} else if (error.status === 502) {
this.router.navigate(['/error/error500']);
}
return throwError(error);
})