Method: Ears.error!

Defined in:
lib/ears.rb

.error!(error) ⇒ Object

Signals that an uncaught error has occurred and the process should be stopped.

Parameters:

  • error (Exception)

    The unhandled error that occurred.

[View source]

74
75
76
77
# File 'lib/ears.rb', line 74

def error!(error)
  puts(error.full_message)
  @error = error
end