DeFiCh/jellyfish

View on GitHub
apps/libs/filters/src/ErrorFilter.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function mapError has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function mapError (err: Error, url: string): ApiError {
  if (err instanceof ApiException) {
    return {
      code: err.code,
      type: err.type,
Severity: Minor
Found in apps/libs/filters/src/ErrorFilter.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status