View source on GitHub |
Raises an apiproxy_errors.ApplicationError if the condition is false.
google.appengine.datastore.datastore_stub_util.Check(
test, msg='', error_code=datastore_pb.Error.BAD_REQUEST
)
Args | |
---|---|
test
|
A condition to test. |
msg
|
A string to return with the error. |
error_code
|
One of datastore_pb.Error to use as an error code. |
Raises | |
---|---|
apiproxy_errors.ApplicationError
|
If test is false. |