title: capture yammer embed error
body: <p>I have added yammer feed to my site</p>
  
  <pre><code>try{      
  yam.connect.embedFeed(
            { container: '#embedded-feed',
              network: 'fourleaf.com',
              feedType: 'group',                // can be 'group', 'topic', or 'user'          
              feedId: '123'                     // feed ID from the instructions above
              ,config: {
                   defaultGroupId: 3257958      // specify default group id to post to 
              }
        });  
  }
  catch(exception ex){
  //error handling code here
  }  
  </code></pre>
  
  <p>If the user has not accepted the usage policy, yammer is throwing an error that x-frame options not enabled.</p>
  
  <p>I am trying to catch this error in the catch block, but it is not getting captured in it!
  I can see the error in console but code inside catch block is not getting called</p>
  
  <p>Or is there a success function that is available in yammer feed embedding option</p>