WEB-456: Add exception message for HTTP 501

This commit is contained in:
Adam Saghy
2025-12-02 16:18:16 +01:00
parent 9ded4256c3
commit 0ee0575644
14 changed files with 31 additions and 0 deletions
@@ -87,6 +87,11 @@ export class ErrorHandlerInterceptor implements HttpInterceptor {
type: 'Internal Server Error',
message: 'Internal Server Error. Please try again later.'
});
} else if (status === 501) {
this.alertService.alert({
type: this.translate.instant('error.resource.notImplemented.type'),
message: this.translate.instant('error.resource.notImplemented.message')
});
} else {
this.alertService.alert({ type: 'Unknown Error', message: 'Unknown Error. Please try again later.' });
}