Sha256: 0da7e6843174552e53175382e6e4744c3fdba9a0397b397f100088060c50f818
Contents?: true
Size: 991 Bytes
Versions: 2
Compression:
Stored size: 991 Bytes
Contents
module ChildProcess class Error < StandardError end class TimeoutError < Error end class SubclassResponsibility < Error end class InvalidEnvironmentVariable < Error end class LaunchError < Error end class MissingFFIError < Error def initialize message = "FFI is a required pre-requisite for posix_spawn, falling back to default implementation. " + "Please add it to your deployment to unlock this functionality. " + "If you believe this is an error, please file a bug at http://github.com/enkessler/childprocess/issues" super(message) end end class MissingPlatformError < Error def initialize message = "posix_spawn is not yet supported on #{ChildProcess.platform_name} (#{RUBY_PLATFORM}), falling back to default implementation. " + "If you believe this is an error, please file a bug at http://github.com/enkessler/childprocess/issues" super(message) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
childprocess-2.0.0 | lib/childprocess/errors.rb |
childprocess-1.0.1 | lib/childprocess/errors.rb |