Skip to content
Wille Marcel edited this page Jun 16, 2017 · 3 revisions

Changeset views error messages

{'detail': 'Changeset was already checked.'} - Raised when someone tries to check a changeset that was already checked

{'detail': 'User can not check his own changeset.'} - Raised when someone tries to check a changeset that was created by him

{'detail': 'Changeset is not checked.'} - Raised when someone tries to uncheck a changeset that is not checked

{'detail': 'User does not have permission to uncheck this changeset.'} - Raised when someone tries to uncheck a changeset that another user checked

{'detail': 'User can not add tags to his own changeset.'}

{'detail': 'User can not add tags to a changeset checked by another user.'}

{'detail': 'User can not remove tags from his own changeset.'}

{'detail': 'User can not remove tags from a changeset checked by another user.'}

Feature views error messages

{'detail': 'Feature was already checked.'} - Raised when someone tries to check a feature that was already checked

{'detail': 'User can not check his own feature.'} - Raised when someone tries to check a feature that was created by him

{'detail': 'Feature is not checked.'} - Raised when someone tries to uncheck a feature that is not checked

{'detail': 'User does not have permission to uncheck this feature.'} - Raised when someone tries to uncheck a feature that another user checked

{'detail': 'User can not add tags to his own feature.'}

{'detail': 'User can not add tags to a feature checked by another user.'}

{'detail': 'User can not remove tags from his own feature.'}

{'detail': 'User can not remove tags from a feature checked by another user.'}

Other

Other possible API Exceptions are listed at http://www.django-rest-framework.org/api-guide/exceptions/#api-reference

Clone this wiki locally