penyesuaian UI cooming soon
This commit is contained in:
1 parent
33007acc77
commit
863a493b66
22 files changed
+527
-441
No files matched your search
@@ -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);
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user