Exception: LedgerSync::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ledger_sync/error.rb,
lib/ledger_sync/error/ledger_errors.rb,
lib/ledger_sync/error/operation_errors.rb

Defined Under Namespace

Modules: HelpersMixin, TypeError Classes: LedgerError, OperationError, UnexpectedClassError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:) ⇒ Error

Returns a new instance of Error.



28
29
30
31
# File 'lib/ledger_sync/error.rb', line 28

def initialize(message:)
  @message = message
  super(message)
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



26
27
28
# File 'lib/ledger_sync/error.rb', line 26

def message
  @message
end