Exception: Vigiles::Archive::Response::ResponseBodyTooDeepError
- Inherits:
-
StandardError
- Object
- StandardError
- Vigiles::Archive::Response::ResponseBodyTooDeepError
- Defined in:
- lib/vigiles/archive/response.rb
Instance Attribute Summary collapse
-
#max_stack_depth ⇒ Object
readonly
Returns the value of attribute max_stack_depth.
-
#stack_depth ⇒ Object
readonly
Returns the value of attribute stack_depth.
Instance Method Summary collapse
-
#initialize(stack_depth, max_stack_depth) ⇒ ResponseBodyTooDeepError
constructor
A new instance of ResponseBodyTooDeepError.
Constructor Details
#initialize(stack_depth, max_stack_depth) ⇒ ResponseBodyTooDeepError
Returns a new instance of ResponseBodyTooDeepError.
21 22 23 24 25 26 |
# File 'lib/vigiles/archive/response.rb', line 21 def initialize(stack_depth, max_stack_depth) @max_stack_depth = max_stack_depth @stack_depth = stack_depth super() end |
Instance Attribute Details
#max_stack_depth ⇒ Object (readonly)
Returns the value of attribute max_stack_depth.
15 16 17 |
# File 'lib/vigiles/archive/response.rb', line 15 def max_stack_depth @max_stack_depth end |
#stack_depth ⇒ Object (readonly)
Returns the value of attribute stack_depth.
18 19 20 |
# File 'lib/vigiles/archive/response.rb', line 18 def stack_depth @stack_depth end |