Sha256: 245129eb1b34316008bf26ad38c543a4cfbd7cc052e528ccbac77150eba58997

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module Qyu
  module Errors
    # Qyu::Errors::TaskStatusUpdateFailed
    class TaskStatusUpdateFailed < Base
      attr_reader :task_id, :status
      def initialize(task_id, status)
        super("Task status cannot be updated task_id=#{task_id} status=#{status}.")
        @task_id = task_id
        @status = status
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qyu-1.1.0 lib/qyu/errors/task_status_update_failed.rb
qyu-1.0.2 lib/qyu/errors/task_status_update_failed.rb
qyu-1.0.1 lib/qyu/errors/task_status_update_failed.rb
qyu-1.0.0 lib/qyu/errors/task_status_update_failed.rb