Exception: Inky::BuildError
Overview
Raised when the full build pipeline fails.
Instance Attribute Summary collapse
-
#warnings ⇒ Array<String>
readonly
Non-fatal notes collected before the failure.
Instance Method Summary collapse
-
#initialize(message, warnings = []) ⇒ BuildError
constructor
A new instance of BuildError.
Constructor Details
#initialize(message, warnings = []) ⇒ BuildError
Returns a new instance of BuildError.
21 22 23 24 |
# File 'lib/inky.rb', line 21 def initialize(, warnings = []) super() @warnings = warnings end |
Instance Attribute Details
#warnings ⇒ Array<String> (readonly)
Returns Non-fatal notes collected before the failure.
19 20 21 |
# File 'lib/inky.rb', line 19 def warnings @warnings end |