Sha256: 472fd2638f0f9e0746e5a8303337a4c6004079fd9867a1501ef4e1261787021e

Contents?: true

Size: 856 Bytes

Versions: 8

Compression:

Stored size: 856 Bytes

Contents

# frozen_string_literal: true
class Ultravisor
  # Base class of all Ultravisor-specific errors
  class Error < StandardError; end

  # Tried to register a child with an ID of a child that already exists
  class DuplicateChildError < Error; end

  # Tried to call `#run` on an ultravisor that is already running
  class AlreadyRunningError < Error; end

  # A `child.call.<method>` was interrupted by the child instance runner terminating
  class ChildRestartedError < Error; end

  # Something was wrong with the Klass/Args/Method (KAM) passed
  class InvalidKAMError < Error; end

  # A child's restart policy was exceeded, and the Ultravisor should
  # terminate
  class BlownRestartPolicyError < Error; end

  # An internal programming error (aka "a bug") caused a violation of thread safety
  # requirements
  class ThreadSafetyError < Error; end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
service_skeleton-2.2.0 ultravisor/lib/ultravisor/error.rb
service_skeleton-2.1.0 ultravisor/lib/ultravisor/error.rb
service_skeleton-1.0.5 ultravisor/lib/ultravisor/error.rb
service_skeleton-2.0.2 ultravisor/lib/ultravisor/error.rb
service_skeleton-2.0.1 ultravisor/lib/ultravisor/error.rb
service_skeleton-2.0.0 ultravisor/lib/ultravisor/error.rb
service_skeleton-1.0.4 ultravisor/lib/ultravisor/error.rb
service_skeleton-0.0.0.1.ENOTAG ultravisor/lib/ultravisor/error.rb