Skip to content
Snippets Groups Projects

MAINT: LinkAhead rename

Closed Henrik tom Wörden requested to merge f-linkahead-rename into dev
3 files
+ 14
0
Compare changes
  • Side-by-side
  • Inline

Files

@@ -28,6 +28,8 @@ HTTP response codes) and for transaction errors (i.e. missing permissions,
dependencies, non-passing consistency checks etc.).
"""
from warnings import warn
from lxml import etree
@@ -39,6 +41,13 @@ class LinkAheadException(Exception):
self.msg = msg
class CaosDBException(LinkAheadException):
def __init__(self, *args, **kwargs):
warn(("The name CaosDBException is deprecated. Please use LinkAheadException."),
DeprecationWarning)
super().__init__(*args, **kwargs)
class ConfigurationError(LinkAheadException):
"""ConfigurationError.
Loading