Exception: Vigiles::Archive::Response::ResponseBodyTooDeepError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vigiles/archive/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_depthObject (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_depthObject (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