deckhand/docs/source/exceptions.rst
Felipe Monteiro cce6ddaf6e Fix uniqueness not being enforced at DB level for documents
UniqueConstraint is currently implemented incorrectly in terms
of syntax in Deckhand's Document DB model. This PS fixes that.
Now UniqueConstraint should be enforcing document uniqueness
at DB level such that an error is thrown for duplicate documents
(with same metadata.name and schema).

Closes #17

Change-Id: I7d66457f471ec48b5766733046977117b509d592
2018-03-22 05:57:19 -04:00

3.6 KiB

Deckhand Exceptions

Exception Name Description
BarbicanException

deckhand.errors.BarbicanException

DocumentNotFound

deckhand.errors.DocumentNotFound

DuplicateDocumentExists

deckhand.errors.DuplicateDocumentExists

InvalidDocumentFormat

deckhand.errors.InvalidDocumentFormat

IndeterminateDocumentParent

deckhand.errors.IndeterminateDocumentParent

LayeringPolicyNotFound

deckhand.errors.LayeringPolicyNotFound

MissingDocumentKey

deckhand.errors.MissingDocumentKey

MissingDocumentPattern

deckhand.errors.MissingDocumentPattern

PolicyNotAuthorized

deckhand.errors.PolicyNotAuthorized

RevisionTagBadFormat

deckhand.errors.RevisionTagBadFormat

RevisionTagNotFound

deckhand.errors.RevisionTagNotFound

RevisionNotFound

deckhand.errors.RevisionNotFound

SingletonDocumentConflict

deckhand.errors.SingletonDocumentConflict

SubstitutionDependencyCycle

deckhand.errors.SubstitutionDependencyCycle

SubstitutionSourceNotFound

deckhand.errors.SubstitutionSourceNotFound

UnknownSubstitutionError

deckhand.errors.UnknownSubstitutionError

UnsupportedActionMethod

deckhand.errors.UnsupportedActionMethod

ValidationNotFound

deckhand.errors.ValidationNotFound