Exception: Gel::Error::UnexpectedConfigError

Inherits:
UserError
  • Object
show all
Defined in:
lib/gel/error.rb

Instance Method Summary collapse

Methods inherited from UserError

#[], #inner_backtrace

Methods included from ReportableError

#details, #exit_code

Constructor Details

#initialize(line:) ⇒ UnexpectedConfigError

Returns a new instance of UnexpectedConfigError.



126
127
128
# File 'lib/gel/error.rb', line 126

def initialize(line:)
  super
end

Instance Method Details

#messageObject



130
131
132
# File 'lib/gel/error.rb', line 130

def message
  "Unexpected config line #{self[:line].inspect}"
end