Exception: Anydoc::ResourceLimitError
- Inherits:
-
ConvertError
- Object
- StandardError
- Error
- ConvertError
- Anydoc::ResourceLimitError
- 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
-
#limit ⇒ Symbol
readonly
The limit that was crossed, e.g.
Instance Attribute Details
#limit ⇒ Symbol (readonly)
Returns the limit that was crossed, e.g. :max_entry_bytes.
35 36 37 |
# File 'lib/anydoc/errors.rb', line 35 def limit @limit end |