~maas-committers/maas/trunk

Viewing all changes in revision 3392.

  • Committer: Graham Binns
  • Date: 2014-11-27 12:12:06 UTC
  • mfrom: (3387.3.12 fix-bug-1394746)
  • Revision ID: graham.binns@canonical.com-20141127121206-g67gncn4f0w3mi9f
[r=allenap][bug=1394746] Add a MAASAPIValidationError, which is a nice
way of putting Django validation errors into something that behaves in a
MAASException-like way.

All the callsites that used ValidationError in maasserver.api.* have
been updated to use the new exception class.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: