Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.support.werkzeug.utils.ArgumentValidationError Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 missing
 extra
 extra_positional

Detailed Description

Raised if :func:`validate_arguments` fails to validate

Definition at line 1651 of file utils.py.


Constructor & Destructor Documentation

def MoinMoin.support.werkzeug.utils.ArgumentValidationError.__init__ (   self,
  missing = None,
  extra = None,
  extra_positional = None 
)

Definition at line 1654 of file utils.py.

01654 
01655     def __init__(self, missing=None, extra=None, extra_positional=None):
01656         self.missing = set(missing or ())
01657         self.extra = extra or {}
01658         self.extra_positional = extra_positional or []
01659         ValueError.__init__(self, 'function arguments invalid.  ('
01660                             '%d missing, %d additional)' % (
01661             len(self.missing),
01662             len(self.extra) + len(self.extra_positional)
01663         ))
01664 
01665 
# circular dependency fun

Member Data Documentation

Definition at line 1656 of file utils.py.

Definition at line 1657 of file utils.py.

Definition at line 1655 of file utils.py.


The documentation for this class was generated from the following file: