Messages Module Exceptions
Experimental!
ProtoRPC is an experimental, innovative, and rapidly changing new feature for App Engine. Unfortunately, being on the bleeding edge means that we may make backwards-incompatible changes to ProtoRPC. We will inform the community when this feature is no longer experimental.
The protorpc.messages
package provides the following exception classes:
- class DecodeError()
- Raised when there is an error decoding an encoded message.
- class DefinitionNotFoundError()
- Raised when a definition is not found.
- class DuplicateNumberError()
- Raised when a duplicate number is assigned to a field.
- class EnumDefinitionError()
- Raised when there are errors in Enum definitions.
- class FieldDefinitionError()
- Raised when there are errors in field definitions.
- class InvalidDefaultError()
- Raised when an invalid default value is provided to a field.
- class InvalidNumberError()
- Raised when an invalid number is provided to a field.
- class InvalidVariantError()
- Raised when an invalid variant is provided to a field.
- class MessageDefinitionError()
- Raised when there are errors in Message definitions.
- class ValidationError()
- Raised when a message has an invalid value.