Exception: Gel::Error::GemfileEvaluationError
- Defined in:
- lib/gel/error.rb
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize(filename:) ⇒ GemfileEvaluationError
constructor
A new instance of GemfileEvaluationError.
- #message ⇒ Object
Methods inherited from UserError
Methods included from ReportableError
Constructor Details
#initialize(filename:) ⇒ GemfileEvaluationError
Returns a new instance of GemfileEvaluationError.
82 83 84 |
# File 'lib/gel/error.rb', line 82 def initialize(filename:) super end |
Instance Method Details
#details ⇒ Object
90 91 92 |
# File 'lib/gel/error.rb', line 90 def details inner_backtrace.join("\n") end |
#message ⇒ Object
86 87 88 |
# File 'lib/gel/error.rb', line 86 def "Failed to evaluate #{self[:filename].inspect}: #{cause&.}" end |