Sha256: 537f18799230809c92ff3c650550c519c938ef56e5bdb3e34c870633a9f656ba

Contents?: true

Size: 412 Bytes

Versions: 22

Compression:

Stored size: 412 Bytes

Contents

class RemoteException < Exception
  EXCEPTION_MESSAGES = {
    :method_not_defined => "Method is not defined",
    :invalid_formatting => "Invalid formatting",
    :could_not_install => "Could not install"
  } unless const_defined?("EXCEPTION_MESSAGES")
  attr_reader :message
  
  def initialize(type=:method_not_defined, note="")
    @message = "Remote Exception: #{EXCEPTION_MESSAGES[type]} #{note}"
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
auser-poolparty-1.1.1 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.1.3 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.1.4 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.1.5 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.1.6 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.1.7 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.0 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.1 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.10 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.11 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.12 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.2 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.3 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.4 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.7 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.8 lib/poolparty/exceptions/RemoteException.rb
auser-poolparty-1.2.9 lib/poolparty/exceptions/RemoteException.rb
fairchild-poolparty-1.1.3 lib/poolparty/exceptions/RemoteException.rb
fairchild-poolparty-1.1.4 lib/poolparty/exceptions/RemoteException.rb
fairchild-poolparty-1.1.5 lib/poolparty/exceptions/RemoteException.rb