Exception: InvariantError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/contracts-ruby2/lib/contracts/errors.rb,
lib/contracts-ruby3/lib/contracts/errors.rb

Overview

Base invariant violation error

Instance Method Summary collapse

Instance Method Details

#to_contract_errorObject



42
43
44
# File 'lib/contracts-ruby2/lib/contracts/errors.rb', line 42

def to_contract_error
  self
end