jlane9/mockerena

View on GitHub
mockerena/errors.py

Summary

Maintainability
A
0 mins
Test Coverage
"""Standard errors for Mockerena

.. codeauthor:: John Lane <john.lane93@gmail.com>

"""

ERROR_404 = {
    "code": 404,
    "message": "The requested URL was not found on the server.  If you entered the URL manually please check your "
               "spelling and try again."
}

ERROR_422 = {
    "code": 422,
    "message": "Data generation failure: 1 document(s) contain(s) error(s)"
}