File: validation_error.py

package info (click to toggle)
python-braintree 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,376 kB
  • ctags: 1,998
  • sloc: python: 13,634; makefile: 73; sh: 8
file content (11 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
from braintree.attribute_getter import AttributeGetter

class ValidationError(AttributeGetter):
    """
    A validation error returned from the server, with information about the error:

    * **attribute**: The field which had an error.
    * **code**: A numeric error code. See :class:`ErrorCodes <braintree.error_codes.ErrorCodes>`
    * **message**: A description of the error.  Note: error messages may change, but the code will not.
    """
    pass