SP.Social.SocialExceptionDetails.internalErrorCode property (sp.userprofiles)
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Social.SocialExceptionDetails.get_internalErrorCode()
Return value
Number