parameters: (message)
return_statement: return validator
docstring: Mark this value as invalid. Each time *any* value is passed here it will result in a
      validation error with the given message.
docstring_summary: Mark this value as invalid. Each time *any* value is passed here it will result in a
      validation error with the given message.
docstring_tokens: Mark this value as invalid . Each time * any * value is passed here it will result in a validation error with the given message .
function: def invalid(message):
      """Mark this value as invalid. Each time *any* value is passed here it will result in a
      validation error with the given message.
      """
  
      def validator(value):
          raise Invalid(message)
  
      return validator
function_tokens: def invalid ( message ) : def validator ( value ) : raise Invalid ( message ) return validator