Exception: FacturamaException

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

Instance Method Summary collapse

Constructor Details

#initialize(exception_message, exception_details = nil) ⇒ FacturamaException

Returns a new instance of FacturamaException.



7
8
9
10
11
# File 'lib/facturama/models/exception/facturama_exception.rb', line 7

def initialize( exception_message, exception_details = nil  )
    super exception_message

    @details = exception_details
end

Instance Method Details

#detailsObject



14
15
16
# File 'lib/facturama/models/exception/facturama_exception.rb', line 14

def details
    @details
end