Method: Temporalio::Error::ApplicationError#initialize
- Defined in:
- lib/temporalio/error/failure.rb
#initialize(message, *details, type: nil, non_retryable: false, next_retry_delay: nil, category: Category::UNSPECIFIED) ⇒ ApplicationError
Create an application error.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/temporalio/error/failure.rb', line 60 def initialize( , *details, type: nil, non_retryable: false, next_retry_delay: nil, category: Category::UNSPECIFIED ) super() @details = details @type = type @non_retryable = non_retryable @next_retry_delay = next_retry_delay @category = category end |