Exception: Fluent::Plugin::JsonSizeLimit::UnexpectedProcessorStatusError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Fluent::Plugin::JsonSizeLimit::UnexpectedProcessorStatusError
- Defined in:
- lib/fluent/plugin/json_size_limit/errors.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ UnexpectedProcessorStatusError
constructor
A new instance of UnexpectedProcessorStatusError.
Constructor Details
#initialize(status) ⇒ UnexpectedProcessorStatusError
Returns a new instance of UnexpectedProcessorStatusError.
13 14 15 16 |
# File 'lib/fluent/plugin/json_size_limit/errors.rb', line 13 def initialize(status) @status = status super("Record processor returned an unexpected status: #{status.inspect}") end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/fluent/plugin/json_size_limit/errors.rb', line 11 def status @status end |