Sha256: d9983f6a9ee22bfd0f0ddd76fc5e22bfde48cd29b42b21233432e585bbb0a2ba

Contents?: true

Size: 922 Bytes

Versions: 81

Compression:

Stored size: 922 Bytes

Contents

module RVM

  # Generic error in RVM
  class Error < StandardError; end

  # Generic error with the shell command output attached.
  # The RVM::Shell::Result instance is available via +#result+.
  class ErrorWithResult < Error
    attr_reader :result

    def initialize(result, message = nil)
      @result = result
      super message
    end

  end

  # Something occured processing the command and rvm couldn't parse the results.
  class IncompleteCommandError < Error; end

  # The given action can't replace the env for the current process.
  # Typically raised by RVM::Environment#gemset_use when the gemset
  # is for another, incompatible ruby interpreter.
  #
  # Provides access to the output of the shell command via +#result+.
  class IncompatibleRubyError < ErrorWithResult; end
  
  # Called when tools.path_identifier is called on a dir with an untrusted rvmrc.
  class ErrorLoadingRVMRC < Error; end

end

Version data entries

81 entries across 81 versions & 2 rubygems

Version Path
rvm-1.7.0 lib/rvm/errors.rb
rvm-1.6.32 lib/rvm/errors.rb
rvm-1.6.31 lib/rvm/errors.rb
rvm-1.6.30 lib/rvm/errors.rb
rvm-1.6.29 lib/rvm/errors.rb
rvm-1.6.27 lib/rvm/errors.rb
rvm-1.6.24 lib/rvm/errors.rb
rvm-1.6.23 lib/rvm/errors.rb
rvm-1.6.22 lib/rvm/errors.rb
rvm-1.6.21 lib/rvm/errors.rb
rvm-1.6.20 lib/rvm/errors.rb
rvm-1.6.19 lib/rvm/errors.rb
rvm-1.6.16 lib/rvm/errors.rb
rvm-1.6.13 lib/rvm/errors.rb
rvm-1.6.12 lib/rvm/errors.rb
rvm-1.6.11 lib/rvm/errors.rb
rvm-1.6.10 lib/rvm/errors.rb
rvm-1.6.9 lib/rvm/errors.rb
rvm-1.6.8 lib/rvm/errors.rb
rvm-1.6.7 lib/rvm/errors.rb