Add configuration error to Exception hierarchy

This commit is contained in:
Matthias 2024-03-19 06:39:34 +01:00
parent 85c150b68e
commit ca94bbe994
2 changed files with 8 additions and 0 deletions

View File

@ -129,6 +129,8 @@ Below is an outline of exception inheritance hierarchy:
+ FreqtradeException + FreqtradeException
| |
+---+ OperationalException +---+ OperationalException
| |
| +---+ ConfigurationError
| |
+---+ DependencyException +---+ DependencyException
| | | |

View File

@ -12,6 +12,12 @@ class OperationalException(FreqtradeException):
""" """
class ConfigurationError(OperationalException):
"""
Configuration error. Usually caused by invalid configuration.
"""
class DependencyException(FreqtradeException): class DependencyException(FreqtradeException):
""" """
Indicates that an assumed dependency is not met. Indicates that an assumed dependency is not met.