Exception: Camunda::BpmnError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/camunda.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:, error_code:, variables: {}) ⇒ BpmnError



48
49
50
51
52
# File 'lib/camunda.rb', line 48

def initialize(message:, error_code:, variables: {})
  super(message)
  @error_code = error_code
  @variables = variables
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



46
47
48
# File 'lib/camunda.rb', line 46

def error_code
  @error_code
end

#variablesObject (readonly)

Returns the value of attribute variables.



46
47
48
# File 'lib/camunda.rb', line 46

def variables
  @variables
end