Commit 72ede95a authored by Philipp Arras's avatar Philipp Arras

Add error message to MultiDomains

parent 918c2443
Pipeline #31121 passed with stages
in 1 minute and 24 seconds
......@@ -49,7 +49,7 @@ class MultiDomain(frozendict):
def __init__(self, domain, _callingfrommake=False):
if not _callingfrommake:
raise NotImplementedError
raise NotImplementedError('To create a MultiDomain call `MultiDomain.make()`.')
super(MultiDomain, self).__init__(domain)
@staticmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment