Sha256: d08c790ad549996f2321a37ac8d62ee01add52cb0c61274baff2130940552f8b

Contents?: true

Size: 900 Bytes

Versions: 7

Compression:

Stored size: 900 Bytes

Contents

# frozen_string_literal: true

class SmartCore::Operation
  # @api public
  # @since 0.2.0
  Error = Class.new(SmartCore::Error)

  # @api public
  # @since 0.3.0
  FatalError = Class.new(Error) do
    # @return [SmartCore::Operation::Fatal]
    #
    # @api private
    # @since 0.3.0
    attr_reader :__operation_result__

    # @param operation_result [SmartCore::Operation::Fatal]
    # @return [void]
    #
    # @api private
    # @since 0.3.0
    def initialize(operation_result)
      @__operation_result__ = operation_result
      super()
    end
  end

  # @api public
  # @since 0.2.0
  IncorrectAttributeNameError = Class.new(Error)

  # @api public
  # @since 0.5.0
  IncorrectStepNameError = Class.new(Error)

  # @api public
  # @since 0.2.0
  ResultMethodIntersectionError = Class.new(Error)

  # @api public
  # @since 0.2.0
  IncompatibleResultObjectKeyError = Class.new(Error)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smart_core-0.8.1 lib/smart_core/operation/exceptions.rb
smart_core-0.8.0 lib/smart_core/operation/exceptions.rb
smart_core-0.7.0 lib/smart_core/operation/exceptions.rb
smart_core-0.6.0 lib/smart_core/operation/exceptions.rb
smart_core-0.5.2 lib/smart_core/operation/exceptions.rb
smart_core-0.5.1 lib/smart_core/operation/exceptions.rb
smart_core-0.5.0 lib/smart_core/operation/exceptions.rb