FileTooLargeBarecatError#

exception barecat.exceptions.FileTooLargeBarecatError(size, shard_size_limit)[source]#

Bases: BarecatError, ValueError

Exception raised when a file exceeds the shard_size_limit.

Inherits from ValueError for backward compatibility with code that catches ValueError.

Parameters:
  • size (int)

  • shard_size_limit (int)