Exception: Camunda::BpmnError
- Inherits:
-
StandardError
- Object
- StandardError
- Camunda::BpmnError
- Defined in:
- lib/camunda.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#variables ⇒ Object
readonly
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize(message:, error_code:, variables: {}) ⇒ BpmnError
constructor
A new instance of BpmnError.
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() @error_code = error_code @variables = variables end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
46 47 48 |
# File 'lib/camunda.rb', line 46 def error_code @error_code end |
#variables ⇒ Object (readonly)
Returns the value of attribute variables.
46 47 48 |
# File 'lib/camunda.rb', line 46 def variables @variables end |