src/app/toasts/toasts.service.ts
Showing 1 of 1 total issue
Function handleError
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
public handleError(error: unknown) { if (typeof error === 'string') { this.error(error); return; }
- Read upRead up