• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uc-cdis / indexd / 29124626265

10 Jul 2026 09:24PM UTC coverage: 87.073% (-0.3%) from 87.402%
29124626265

Pull #442

github

BinamB
fix all unit tests
Pull Request #442: Refactor for fastapi

2930 of 3365 relevant lines covered (87.07%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
indexd/errors.py
1
class BaseIndexDError(Exception):
1✔
2
    """
3
    Base IndexD error.
4
    """
5

6

7
class UserError(BaseIndexDError):
1✔
8
    """
9
    User error.
10
    """
11

12

13
class ConfigurationError(BaseIndexDError):
1✔
14
    """
15
    Configuration error.
16
    """
17

18

19
class IndexdUnexpectedError(BaseIndexDError):
1✔
20
    """
21
    Unexpected Error
22
    """
23

24
    def __init__(self, code=500, message="Unexpected Error"):
1✔
25
        self.code = code
×
26
        self.message = str(message)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc