Sha256: d21c4d52b7209c898998c6356f3e0f47542918db7d29bd91bb6dd32f1d0bbf60

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

module ChildProcess
  class Error < StandardError; end
  class TimeoutError < StandardError; end
  class SubclassResponsibility < StandardError; end
  class InvalidEnvironmentVariableName < StandardError; end
  class LaunchError < StandardError; end

  class MissingPlatformError < StandardError
    def initialize
      platform = ChildProcess.platform_name

      message = "posix_spawn is not yet supported on #{ChildProcess.platform_name} (#{RUBY_PLATFORM}), falling back to fork/exec. " +
                "Please file a bug at http://github.com/jarib/childprocess/issues"

      super(message)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
childprocess-0.2.8 lib/childprocess/errors.rb
childprocess-0.2.7 lib/childprocess/errors.rb