Exception: Enom::Error

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

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Error

Returns a new instance of Error.



7
8
9
# File 'lib/enom/error.rb', line 7

def initialize(message)
  super "An error occurred: #{message}"
end