noydb/oworms-ui

View on GitHub
src/app/util/error.util.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getMessage has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static getMessage(e: HttpErrorResponse): string {
        const status: number = e.status;
        const apiError: ApiErrorResponse = e.error;

        let message = '';
Severity: Minor
Found in src/app/util/error.util.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status