MCPcopy Index your code
hub / github.com/StackStorm/st2 / StackStormDBObjectConflictError

Class StackStormDBObjectConflictError

st2common/st2common/exceptions/db.py:28–36  ·  view source on GitHub ↗

Exception that captures a DB object conflict error.

Source from the content-addressed store, hash-verified

26
27
28class StackStormDBObjectConflictError(StackStormBaseException):
29 """
30 Exception that captures a DB object conflict error.
31 """
32
33 def __init__(self, message, conflict_id, model_object):
34 super(StackStormDBObjectConflictError, self).__init__(message)
35 self.conflict_id = conflict_id
36 self.model_object = model_object
37
38
39class StackStormDBObjectWriteConflictError(StackStormBaseException):

Callers 2

insertMethod · 0.90
add_or_updateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected