Exception: Serega::DepthLimitError
- Inherits:
-
SeregaError
- Object
- StandardError
- SeregaError
- Serega::DepthLimitError
- Defined in:
- lib/serega/plugins/depth_limit/depth_limit.rb
Overview
Special error for depth_limit plugin
Instance Attribute Summary collapse
-
#details ⇒ String
readonly
Details of why depth limit error happens.
Instance Method Summary collapse
-
#initialize(message, details = nil) ⇒ DepthLimitError
constructor
Initializes new error.
Constructor Details
#initialize(message, details = nil) ⇒ DepthLimitError
Initializes new error
198 199 200 201 |
# File 'lib/serega/plugins/depth_limit/depth_limit.rb', line 198 def initialize(, details = nil) super() @details = details end |
Instance Attribute Details
#details ⇒ String (readonly)
Details of why depth limit error happens.
188 189 190 |
# File 'lib/serega/plugins/depth_limit/depth_limit.rb', line 188 def details @details end |