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

atlanticwave-sdx / pce / 11126701726

01 Oct 2024 01:46PM CUT coverage: 88.705% (+0.05%) from 88.658%
11126701726

push

github

web-flow
Merge pull request #228 from atlanticwave-sdx/227-creating-a-connection-to-a-port-directly-attached-to-a-neighbor-domain-results-in-wrong-breakdown

227 creating a connection to a port directly attached to a neighbor domain results in wrong breakdown

583 of 679 branches covered (85.86%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

1129 of 1251 relevant lines covered (90.25%)

3.6 hits per line

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

88.89
/src/sdx_pce/utils/exceptions.py
1
class ValidationError(Exception):
4✔
2
    """
4✔
3
    A custom exception to represent validation errors.
4
    """
5

6
    def __init__(self, message):
4✔
7
        super().__init__(message)
×
8

9

10
class UnknownRequestError(Exception):
4✔
11
    """
4✔
12
    A custom exception to represent unknown requests.
13
    """
14

15
    def __init__(self, message: str, request_id: str):
4✔
16
        """
17
        :param message: a string containing the error message.
18
        :param request_id: a string containing request ID.
19
        """
20
        super().__init__(f"{message} (ID: {request_id})")
4✔
21
        self.request_id = request_id
4✔
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

© 2025 Coveralls, Inc