lib/ridley/errors.rb in ridley-3.0.0 vs lib/ridley/errors.rb in ridley-3.1.0

- old
+ new

@@ -64,30 +64,11 @@ out end alias_method :message, :to_s end - class BootstrapError < RidleyError; end - class ClientKeyFileNotFoundOrInvalid < BootstrapError; end - class EncryptedDataBagSecretNotFound < BootstrapError; end - - class HostConnectionError < RidleyError; end - class DNSResolvError < HostConnectionError; end - - class RemoteCommandError < RidleyError; end - class RemoteScriptError < RemoteCommandError; end - class CommandNotProvided < RemoteCommandError - attr_reader :connector_type - - # @params [Symbol] connector_type - def initialize(connector_type) - @connector_type = connector_type - end - - def to_s - "No command provided in #{connector_type.inspect}, however the #{connector_type.inspect} connector was selected." - end - end + class ClientKeyFileNotFoundOrInvalid < RidleyError; end + class EncryptedDataBagSecretNotFound < RidleyError; end # Exception thrown when the maximum amount of requests is exceeded. class RedirectLimitReached < RidleyError attr_reader :response