tests: Add support for getting corefile patterns on FreeBSD
[vpp.git] / test / vpp_papi_exceptions.py
1 class CliFailedCommandError(Exception):
2     """cli command failed."""
3
4
5 class CliSyntaxError(Exception):
6     """cli command had a syntax error."""
7
8
9 class UnexpectedApiReturnValueError(Exception):
10     """exception raised when the API return value is unexpected"""
11
12     def __init__(self, retval, message):
13         self.retval = retval
14         self.message = message
15         super().__init__(message)