![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | reason |
def | extra_fields |
![]() | |
def | status_code |
![]() | |
def | status_code |
def | message |
def | reason |
def | domain |
def | extra_fields |
def | rest_error |
def | rpc_error |
Public Attributes | |
parameter_name | |
value | |
Base class for invalid parameter errors. Child classes only need to implement the message() function.
def google.appengine.tools.devappserver2.endpoints.errors.InvalidParameterError.__init__ | ( | self, | |
parameter_name, | |||
value | |||
) |
Constructor for InvalidParameterError. Args: parameter_name: String; the name of the parameter which had a value rejected. value: The actual value passed in for the parameter. Usually string.
def google.appengine.tools.devappserver2.endpoints.errors.InvalidParameterError.extra_fields | ( | self | ) |
Returns extra fields to add to the error response. Returns: A dict containing extra fields to add to the error response.
def google.appengine.tools.devappserver2.endpoints.errors.InvalidParameterError.reason | ( | self | ) |
Returns the server's reason for this error. Returns: A string containing a short error reason.