2 Replies Latest reply on Jun 3, 2014 5:59 AM by 7d3a3bb5-bf30-4e3e-8444-e6fbb81be09c

    Rho.RhoError undefined at runtime

    7d3a3bb5-bf30-4e3e-8444-e6fbb81be09c

      Hey!

       

      I'm using RhoMobile 4.1 and was checking the JS examples wiring up with RhoConnect and in login example you have error check,

      but when I try Rho.RhoError.ERR_NONE, RhoError is actually undefined at runtime.

      I was watching the example at this url.

       

      The login actually works and returns code 0, but if I try to compare errorCode with Rho.RhoError.ERR_NONE it breaks the code.

      Am I missing a library or is there again old documentation, or an actual bug in JS library.