IyiKuyoro/RespondEx

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language