Exception: ConfidenceCheck::ConfidenceCheckedFailed

Inherits:
Exception
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/confidence_check/confidence_check_failed.rb

Instance Method Summary collapse

Constructor Details

#initialize(exception) ⇒ ConfidenceCheckedFailed

Returns a new instance of ConfidenceCheckedFailed.



5
6
7
8
# File 'lib/confidence_check/confidence_check_failed.rb', line 5

def initialize(exception)
  super("CONFIDENCE CHECK FAILED: #{exception.message}")
  @exception = exception
end