1# vim: set syntax=python ts=4 :
2#
3# Copyright (c) 2018-2022 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6class TwisterException(Exception):
7    pass
8
9
10class TwisterRuntimeError(TwisterException):
11    pass
12
13
14class ConfigurationError(TwisterException):
15    def __init__(self, cfile, message):
16        TwisterException.__init__(self, str(cfile) + ": " + message)
17
18
19class BuildError(TwisterException):
20    pass
21
22
23class ExecutionError(TwisterException):
24    pass
25