Guest User

Untitled

a guest
Jun 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. _logger.info("\t\t-EupLoginError: " + String(e.getEupLoginError()));
  2. _logger.info("\t\t-Error Description: " + e.getEupLoginError().getDescription());
  3.  
  4. ------------------
  5.  
  6. var errorId:int = e.getEupLoginError().getId();
  7.  
  8. ------------------
  9.  
  10. if (e.getEsObject() && e.getEsObject().doesPropertyExist('e')) {
  11. errorId = e.getEsObject().getInteger('e');
  12. trace(e.getEsObject());
  13. }
  14.  
  15. errorObj = (errorId == ErrorConstants.LOGIN_EVENT_HANDLER_FAILURE) ?
  16. { code: 'ok', msg: e.getEupLoginError().getDescription() } :
  17. ErrorConstants.getFriendlyMessage(errorId);
Add Comment
Please, Sign In to add comment