lib/framework/rho/rhoerror.rb in rhodes-2.0.2 vs lib/framework/rho/rhoerror.rb in rhodes-2.0.3
- old
+ new
@@ -22,9 +22,13 @@
def message
::Rho::RhoError.err_message(code)
end
+ def unknown_client?(msg)
+ code == ERR_REMOTESERVER && msg && msg.downcase == 'unknown client'
+ end
+
end # RhoError
end # Rho
require 'rholang/localization_simplified'
LocalizationSimplified.requre_loc('rholang/rhoerror_',false)
\ No newline at end of file