Sha256: 636b7ee61445faaa80285fed4196ba7b39ef166fa1fc51126048b8418dfb3eca

Contents?: true

Size: 690 Bytes

Versions: 20

Compression:

Stored size: 690 Bytes

Contents

module Rho
  class RhoError < Exception
    ERR_NONE = 0
    ERR_NETWORK = 1
    ERR_REMOTESERVER = 2
    ERR_RUNTIME = 3
    ERR_UNEXPECTEDSERVERRESPONSE = 4
    ERR_DIFFDOMAINSINSYNCSRC = 5
    ERR_NOSERVERRESPONSE = 6
    ERR_CLIENTISNOTLOGGEDIN = 7
    ERR_CUSTOMSYNCSERVER = 8
    ERR_UNATHORIZED = 9
    ERR_CANCELBYUSER = 10
    ERR_SYNCVERSION = 11
    ERR_GEOLOCATION = 12
    
    attr_reader :code
    
    def initialize(err_code)
        @code = err_code
    end
    
    def message
        ::Rho::RhoError.err_message(code)        
    end
    
  end # RhoError
end # Rho

require 'rholang/localization_simplified'
LocalizationSimplified.requre_loc('rholang/rhoerror_',false)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rhodes-2.0.2 lib/framework/rho/rhoerror.rb
rhodes-2.0.0 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.rc2 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.rc1 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta11 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta10 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta9 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta8 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta7 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta6 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta4 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta3 lib/framework/rho/rhoerror.rb
rhodes-1.5.5 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta2 lib/framework/rho/rhoerror.rb
rhodes-2.0.0.beta1 lib/framework/rho/rhoerror.rb
rhodes-1.5.4 lib/framework/rho/rhoerror.rb
rhodes-1.5.3 lib/framework/rho/rhoerror.rb
rhodes-1.5.2 lib/framework/rho/rhoerror.rb
rhodes-1.5.1 lib/framework/rho/rhoerror.rb
rhodes-1.5.0 lib/framework/rho/rhoerror.rb