mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
Initial commit of open source Workload Automation.
This commit is contained in:
22
wlauto/external/louie/error.py
vendored
Normal file
22
wlauto/external/louie/error.py
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"""Error types for Louie."""
|
||||
|
||||
|
||||
class LouieError(Exception):
|
||||
"""Base class for all Louie errors"""
|
||||
|
||||
|
||||
class DispatcherError(LouieError):
|
||||
"""Base class for all Dispatcher errors"""
|
||||
|
||||
|
||||
class DispatcherKeyError(KeyError, DispatcherError):
|
||||
"""Error raised when unknown (sender, signal) specified"""
|
||||
|
||||
|
||||
class DispatcherTypeError(TypeError, DispatcherError):
|
||||
"""Error raised when inappropriate signal-type specified (None)"""
|
||||
|
||||
|
||||
class PluginTypeError(TypeError, LouieError):
|
||||
"""Error raise when trying to install more than one plugin of a
|
||||
certain type."""
|
Reference in New Issue
Block a user