[Checkins] [zopefoundation/zope.schema] b2f99e: Give ValidationErrors more context information.

GitHub noreply at github.com
Mon Aug 20 18:05:03 CEST 2018


  Branch: refs/heads/issue16
  Home:   https://github.com/zopefoundation/zope.schema
  Commit: b2f99e2a0e46cdfc410a22b4bb78af0ab7d9a1ef
      https://github.com/zopefoundation/zope.schema/commit/b2f99e2a0e46cdfc410a22b4bb78af0ab7d9a1ef
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M CHANGES.rst
    M src/zope/schema/_bootstrapfields.py
    M src/zope/schema/_bootstrapinterfaces.py
    M src/zope/schema/_field.py
    M src/zope/schema/interfaces.py
    M src/zope/schema/tests/test__bootstrapfields.py
    M src/zope/schema/tests/test__field.py

  Log Message:
  -----------
  Give ValidationErrors more context information.

All of them have a ``field`` and ``value`` now.

For Object fields, introduce a new exception (extending the old
exception) to allow distinguishing which fields threw which error and
whic errors are general validation errors.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list