MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2common/st2common/models/system/common.py:26–30  ·  view source on GitHub ↗
(self, ref)

Source from the content-addressed store, hash-verified

24
25class InvalidReferenceError(ValueError):
26 def __init__(self, ref):
27 message = "Invalid reference: %s" % (ref)
28 self.ref = ref
29 self.message = message
30 super(InvalidReferenceError, self).__init__(message)
31
32
33class InvalidResourceReferenceError(ValueError):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected