parameters: (self, message, param=None, ctx=None)
docstring: Helper method to fail with an invalid value message.
docstring_summary: Helper method to fail with an invalid value message.
docstring_tokens: Helper method to fail with an invalid value message .
function: def fail(self, message, param=None, ctx=None):
          """Helper method to fail with an invalid value message."""
          raise BadParameter(message, ctx=ctx, param=param)
function_tokens: def fail ( self , message , param = None , ctx = None ) : raise BadParameter ( message , ctx = ctx , param = param )