Messages Module Exceptions
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]