Exception: USPSFlags::Errors::StaticFilesGenerationError
- Inherits:
-
StandardError
- Object
- StandardError
- USPSFlags::Errors::StaticFilesGenerationError
- Defined in:
- lib/usps_flags/errors.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(msg = 'There was an error generating the static files.', cause: nil) ⇒ StaticFilesGenerationError
constructor
A new instance of StaticFilesGenerationError.
Constructor Details
#initialize(msg = 'There was an error generating the static files.', cause: nil) ⇒ StaticFilesGenerationError
Returns a new instance of StaticFilesGenerationError.
26 27 28 29 |
# File 'lib/usps_flags/errors.rb', line 26 def initialize(msg = 'There was an error generating the static files.', cause: nil) super(msg) @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
24 25 26 |
# File 'lib/usps_flags/errors.rb', line 24 def cause @cause end |