Exception: CloudRailSi::Errors::InternalError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cloudrail_si/errors/InternalError.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InternalError

Returns a new instance of InternalError.



4
5
6
7
# File 'lib/cloudrail_si/errors/InternalError.rb', line 4

def initialize(message)
	updated_message = message.nil? ? nil : message.gsub('null', 'nil')
       super("An internal error has occurred which you probably cannot fix. We'd very much appreciate it if you would report it to the CloudRail team. The error message is:\n #{updated_message}")
end