Exception: CloudRailSi::Errors::UserError
- Inherits:
-
StandardError
- Object
- StandardError
- CloudRailSi::Errors::UserError
- Defined in:
- lib/cloudrail_si/errors/UserError.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ UserError
constructor
A new instance of UserError.
Constructor Details
#initialize(message) ⇒ UserError
Returns a new instance of UserError.
4 5 6 7 8 |
# File 'lib/cloudrail_si/errors/UserError.rb', line 4 def initialize() = .nil? ? nil : .gsub('null', 'nil') super("An error occurred that you should be able to fix. The error message is:\n#{}") end |