Sha256: 1a71a474ba57fddf718ddc5d5c56cd30948ec222a3ff30c70468d87c175a66c5

Contents?: true

Size: 1.07 KB

Versions: 19

Compression:

Stored size: 1.07 KB

Contents

module Rush
	# Base class for all rush exceptions.
	class Exception < ::RuntimeError; end

	# Client was not authorized by remote server; check credentials.
	class NotAuthorized < Exception; end

	# rushd is not running on the remote box.
	class RushdNotRunning < Exception; end

	# An unrecognized status code was returned by rushd.
	class FailedTransmit < Exception; end

	# The entry (file or dir) referenced does not exist.  Message is the entry's full path.
	class DoesNotExist < Exception; end

	# The bash command had a non-zero return value.  Message is stderr.
	class BashFailed < Exception; end

	# There's already an entry by the given name in the given dir.
	class NameAlreadyExists < Exception; end

	# The name cannot contain a slash; use two operations, rename and then move, instead.
	class NameCannotContainSlash < Exception; end

	# You cannot move or copy entries to a path that is not a dir (should end with trailing slash).
	class NotADir < Exception; end

	# A user or permission value specified to set access was not valid.
	class BadAccessSpecifier < Exception; end
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
adamwiggins-rush-0.6.1 lib/rush/exceptions.rb
adamwiggins-rush-0.6.2 lib/rush/exceptions.rb
dysinger-rush-0.4.1221060147 lib/rush/exceptions.rb
dysinger-rush-0.4.1221072146 lib/rush/exceptions.rb
dysinger-rush-0.4 lib/rush/exceptions.rb
rush-0.6.8 lib/rush/exceptions.rb
rush-0.6.7 lib/rush/exceptions.rb
rush-0.6.6 lib/rush/exceptions.rb
rush-0.6.5 lib/rush/exceptions.rb
rush-0.6.4 lib/rush/exceptions.rb
rush-0.6.3 lib/rush/exceptions.rb
rush-0.6.2 lib/rush/exceptions.rb
rush-0.6 lib/rush/exceptions.rb
rush-0.6.1 lib/rush/exceptions.rb
rush-0.4.2 lib/rush/exceptions.rb
rush-0.4.1 lib/rush/exceptions.rb
rush-0.5.1 lib/rush/exceptions.rb
rush-0.5 lib/rush/exceptions.rb
rush-0.4 lib/rush/exceptions.rb