IyiKuyoro/RespondEx

View on GitHub
src/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function errorByType has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  static errorByType(type, res, message, possibleErrors, options = {}) {
    switch (type) {
      case 'ClientError':
      {
        const error = new ApiError(
Severity: Major
Found in src/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status