Exception: Camunda::BpmnError
- Inherits:
-
StandardError
- Object
- StandardError
- Camunda::BpmnError
- Defined in:
- lib/camunda.rb
Overview
Error when BPMN process cannot be deployed.
Instance Attribute Summary collapse
-
#error_code ⇒ String
readonly
Camunda BPMN error code.
-
#variables ⇒ Hash
readonly
variables to send to Camunda along with the error.
Instance Method Summary collapse
-
#initialize(message:, error_code:, variables: {}) ⇒ BpmnError
constructor
A new instance of BpmnError.
Constructor Details
#initialize(message:, error_code:, variables: {}) ⇒ BpmnError
Returns a new instance of BpmnError.
119 120 121 122 123 |
# File 'lib/camunda.rb', line 119 def initialize(message:, error_code:, variables: {}) super() @error_code = error_code @variables = variables end |
Instance Attribute Details
#error_code ⇒ String (readonly)
Camunda BPMN error code
111 112 113 |
# File 'lib/camunda.rb', line 111 def error_code @error_code end |
#variables ⇒ Hash (readonly)
variables to send to Camunda along with the error
114 115 116 |
# File 'lib/camunda.rb', line 114 def variables @variables end |