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.



76
77
78
79
# File 'lib/ears.rb', line 76

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