Browse Source
Merge pull request #17987 from abpframework/auto-merge/rel-7-4/2250
Merge branch dev with rel-7.4
pull/17993/head
Masum ULU
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
npm/ng-packs/packages/theme-shared/src/lib/services/status-code-error-handler.service.ts
|
|
|
@ -57,9 +57,9 @@ export class StatusCodeErrorHandlerService implements CustomHttpErrorHandlerServ |
|
|
|
this.createErrorComponentService.execute(instance); |
|
|
|
} |
|
|
|
|
|
|
|
canHandle({ status }): boolean { |
|
|
|
this.status = status || 0; |
|
|
|
return this.handledStatusCodes.indexOf(status) > -1; |
|
|
|
canHandle(error): boolean { |
|
|
|
this.status = error?.status || 0; |
|
|
|
return this.handledStatusCodes.indexOf(this.status) > -1; |
|
|
|
} |
|
|
|
|
|
|
|
execute(): void { |
|
|
|
|