Exception: Ibex::Verify::BudgetExceeded

Inherits:
Error
  • Object
show all
Defined in:
lib/ibex/verify/result.rb,
sig/ibex/verify/result.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, bounds:) ⇒ BudgetExceeded

Returns a new instance of BudgetExceeded.

RBS:

  • (String message, bounds: Hash[Symbol, Integer]) -> void

Parameters:

  • message (String)
  • bounds: (Hash[Symbol, Integer])


67
68
69
70
# File 'lib/ibex/verify/result.rb', line 67

def initialize(message, bounds:)
  @bounds = bounds.dup.freeze
  super(message)
end

Instance Attribute Details

#boundsHash[Symbol, Integer] (readonly)

Signature:

  • Hash[Symbol, Integer]

Returns:

  • (Hash[Symbol, Integer])


64
65
66
# File 'lib/ibex/verify/result.rb', line 64

def bounds
  @bounds
end