Exception: FacturamaException
- Inherits:
-
StandardError
- Object
- StandardError
- FacturamaException
- Defined in:
- lib/facturama/models/exception/facturama_exception.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(exception_message, exception_details = nil) ⇒ FacturamaException
constructor
A new instance of FacturamaException.
Constructor Details
#initialize(exception_message, exception_details = nil) ⇒ FacturamaException
Returns a new instance of FacturamaException.
6 7 8 9 10 |
# File 'lib/facturama/models/exception/facturama_exception.rb', line 6 def initialize(, exception_details = nil) super @details = exception_details end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
12 13 14 |
# File 'lib/facturama/models/exception/facturama_exception.rb', line 12 def details @details end |