Sha256: b876d4c6f72795a4ca2564159847c3f2f27e0746da8d78cea57cf6340efcdb66

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

module SimpleRubyService
  # simple exception class with target and message
  class Error < StandardError
    attr_accessor :target

    def initialize(target, msg)
      @target = target
      super msg
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_ruby_service-1.0.6 lib/simple_ruby_service/error.rb
simple_ruby_service-1.0.5 lib/simple_ruby_service/error.rb
simple_ruby_service-1.0.4 lib/simple_ruby_service/error.rb
simple_ruby_service-1.0.3 lib/simple_ruby_service/error.rb
simple_ruby_service-1.0.2 lib/simple_ruby_service/error.rb
simple_ruby_service-1.0.1 lib/simple_ruby_service/error.rb