Exception: Spree::LogEntry::BadAlias
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Spree::LogEntry::BadAlias
- Defined in:
- app/models/spree/log_entry.rb
Overview
Raised when YAML contains aliases and they're not enabled
Instance Attribute Summary collapse
-
#psych_exception ⇒ Object
readonly
Returns the value of attribute psych_exception.
Instance Method Summary collapse
-
#initialize(psych_exception:) ⇒ BadAlias
constructor
A new instance of BadAlias.
Constructor Details
#initialize(psych_exception:) ⇒ BadAlias
Returns a new instance of BadAlias.
46 47 48 49 |
# File 'app/models/spree/log_entry.rb', line 46 def initialize(psych_exception:) @psych_exception = psych_exception super() end |
Instance Attribute Details
#psych_exception ⇒ Object (readonly)
Returns the value of attribute psych_exception.
44 45 46 |
# File 'app/models/spree/log_entry.rb', line 44 def psych_exception @psych_exception end |