Exception: Decouplio::Errors::ExecutionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/decouplio/errors/execution_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action:) ⇒ ExecutionError

Returns a new instance of ExecutionError.



10
11
12
13
# File 'lib/decouplio/errors/execution_error.rb', line 10

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

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



8
9
10
# File 'lib/decouplio/errors/execution_error.rb', line 8

def action
  @action
end

Instance Method Details

#messageObject



15
16
17
# File 'lib/decouplio/errors/execution_error.rb', line 15

def message
  Decouplio::Const::ErrorMessages::EXECUTION_ERROR
end