Sha256: a61c15d9625c2c67aa13098a6c4a376a27b070dd0ff7d78af5a8365823867206

Contents?: true

Size: 329 Bytes

Versions: 8

Compression:

Stored size: 329 Bytes

Contents

# shareable_constant_value: literal

module Backports
  class Ractor
    class ClosedError < ::StopIteration
    end

    class Error < ::StandardError
    end

    class RemoteError < Error
      attr_reader :ractor

      def initialize(message = nil)
        @ractor = Ractor.current
        super
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
backports-3.25.0 lib/backports/ractor/errors.rb
backports-3.24.1 lib/backports/ractor/errors.rb
backports-3.24.0 lib/backports/ractor/errors.rb
backports-3.23.0 lib/backports/ractor/errors.rb
backports-3.22.1 lib/backports/ractor/errors.rb
backports-3.22.0 lib/backports/ractor/errors.rb
backports-3.21.0 lib/backports/ractor/errors.rb
backports-3.20.2 lib/backports/ractor/errors.rb