google.appengine.api.yaml_errors module

Summary

Errors used in the YAML API, which is used by app developers.

Contents

exception google.appengine.api.yaml_errors.AmbiguousConfigurationFilessource

Bases: google.appengine.api.yaml_errors.Error

Both YAML and XML files exist for the same configuration information.

exception google.appengine.api.yaml_errors.DuplicateAttributesource

Bases: google.appengine.api.yaml_errors.Error

Generated when an attribute is assigned to twice.

exception google.appengine.api.yaml_errors.EmptyConfigurationFilesource

Bases: google.appengine.api.yaml_errors.Error

Tried to load empty configuration file.

exception google.appengine.api.yaml_errors.Errorsource

Bases: exceptions.Exception

Base datastore yaml error type.

exception google.appengine.api.yaml_errors.EventError(cause, event)source

Bases: google.appengine.api.yaml_errors.EventListenerError

Generated specifically when an error occurs in event handler.

cause

The original exception which caused the EventListenerError.

event

Event being handled when exception occured.

exception google.appengine.api.yaml_errors.EventListenerError(cause)source

Bases: google.appengine.api.yaml_errors.Error

Top level exception raised by YAML listener.

Any exception raised within the process of parsing a YAML file via an EventListener is caught and wrapped in an EventListenerError. The causing exception is maintained, but additional useful information is saved which can be used for reporting useful information to users.

cause

The original exception which caused the EventListenerError.

exception google.appengine.api.yaml_errors.EventListenerYAMLError(cause)source

Bases: google.appengine.api.yaml_errors.EventListenerError

Generated specifically for yaml.error.YAMLError.

exception google.appengine.api.yaml_errors.IllegalEventsource

Bases: google.appengine.api.yaml_errors.Error

Raised when an unexpected event type is received by listener.

exception google.appengine.api.yaml_errors.InternalErrorsource

Bases: google.appengine.api.yaml_errors.Error

Raised when an internal implementation error is detected.

exception google.appengine.api.yaml_errors.ListenerConfigurationErrorsource

Bases: google.appengine.api.yaml_errors.Error

Generated when there is a parsing problem due to configuration.

exception google.appengine.api.yaml_errors.MultipleConfigurationFilesource

Bases: google.appengine.api.yaml_errors.Error

Tried to load configuration file with multiple objects.

exception google.appengine.api.yaml_errors.ProtocolBufferParseErrorsource

Bases: google.appengine.api.yaml_errors.Error

Error in protocol buffer parsing

exception google.appengine.api.yaml_errors.UnexpectedAttributesource

Bases: google.appengine.api.yaml_errors.Error

Raised when an unexpected attribute is encounted.

Send feedback about...

App Engine standard environment for Python