Exception: Contracts::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/contracts.rb

Direct Known Subclasses

DefinitionError, SnapshotError, Violation

Instance Method Summary collapse

Instance Method Details

#to_hObject



14
# File 'lib/contracts.rb', line 14

def to_h = { error: self.class.name, message: message }