Exception: FacturamaException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/facturama/models/exception/facturama_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_message, exception_details = nil)
  super exception_message

  @details = exception_details
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



12
13
14
# File 'lib/facturama/models/exception/facturama_exception.rb', line 12

def details
  @details
end