Exception: Flexr::Runtime::BufferTooLargeError

Inherits:
ResourceLimitError show all
Defined in:
lib/flexr/runtime/errors.rb

Instance Attribute Summary

Attributes inherited from ResourceLimitError

#code, #rule

Attributes inherited from LexError

#byte_pos, #filename, #line, #text

Attributes inherited from Error

#diagnostic

Instance Method Summary collapse

Constructor Details

#initialize(**context) ⇒ BufferTooLargeError

Returns a new instance of BufferTooLargeError.



43
44
45
46
# File 'lib/flexr/runtime/errors.rb', line 43

def initialize(**context)
  super("FLEXR-E022", "streaming buffer exceeds max_buffer_size",
        help: "increase max_buffer_size, shorten tokens, or use retain_input: false", **context)
end