Specific exception class for handling issues with driver dependencies
| 730 | pass |
| 731 | |
| 732 | class DependencyException(Exception): |
| 733 | """ |
| 734 | Specific exception class for handling issues with driver dependencies |
| 735 | """ |
| 736 | |
| 737 | excs = [] |
| 738 | """ |
| 739 | A sequence of child exceptions |
| 740 | """ |
| 741 | |
| 742 | def __init__(self, msg, excs=[]): |
| 743 | complete_msg = msg |
| 744 | if excs: |
| 745 | complete_msg += ("\nThe following exceptions were observed: \n - " + '\n - '.join(str(e) for e in excs)) |
| 746 | Exception.__init__(self, complete_msg) |
no outgoing calls
no test coverage detected