fromValue

Returns the NetworkErrorCode matching the given integer value, or GeneralError if no match is found.