aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_exceptions.py
blob: 2f7da963f7022350b74714107d8025348e6e941d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CliFailedCommandError(Exception):
    """ cli command failed."""


class CliSyntaxError(Exception):
    """ cli command had a syntax error."""


class UnexpectedApiReturnValueError(Exception):
    """ exception raised when the API return value is unexpected """

    def __init__(self, retval, message):
        self.retval = retval
        self.message = message
        super().__init__(message)