Exception: Anydoc::ResourceLimitError

Inherits:
ConvertError show all
Defined in:
lib/anydoc/errors.rb,
sig/anydoc.rbs

Overview

A fixed safety limit was crossed: decompression, nesting depth, node count, repeat expansion, or retained asset bytes.

Instance Attribute Summary collapse

Instance Attribute Details

#limitSymbol (readonly)

Returns the limit that was crossed, e.g. :max_entry_bytes.

Returns:

  • (Symbol)

    the limit that was crossed, e.g. :max_entry_bytes.



35
36
37
# File 'lib/anydoc/errors.rb', line 35

def limit
  @limit
end