|
| parameter_name |
|
| value |
|
| allowed_values |
|
Custom request rejection exception for enum values.
def google.appengine.tools.dev_appserver_apiserver.EnumRejectionError.__init__ |
( |
|
self, |
|
|
|
parameter_name, |
|
|
|
value, |
|
|
|
allowed_values |
|
) |
| |
Constructor for EnumRejectionError.
Args:
parameter_name: String; the name of the enum parameter which had a value
rejected.
value: The actual value passed in for the enum. Usually string.
allowed_values: List of strings allowed for the enum.
def google.appengine.tools.dev_appserver_apiserver.EnumRejectionError.Errors |
( |
|
self | ) |
|
A list containing the errors associated with the rejection.
Intended to mimic those returned from an API in production in Google's API
infrastructure.
Returns:
A list with a single element that is a dictionary containing the error
information.
def google.appengine.tools.dev_appserver_apiserver.EnumRejectionError.Message |
( |
|
self | ) |
|
A descriptive message describing the error.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/dev_appserver_apiserver.py