Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lang/py/avro/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ class InvalidAvroBinaryEncoding(AvroException):
"""For invalid numbers of bytes read."""


class AvroCollectionSizeException(AvroException):
"""Raised when a decoded array or map would exceed a collection size limit.

This covers both the zero-byte-element cap (the cumulative number of
zero-byte elements such as ``null``) and the structural cap on the total
number of elements in any collection.
"""


class SchemaParseException(AvroException):
"""Raised when a schema failed to parse."""

Expand Down
Loading
Loading