Reccomendations for Error handling in GAD customizations

Hi All,

Please suggest the reccomendations for Error handling in GAD customizations? We are creating interfaces to interact with third party application and wondering how best we can handle the errors.

Thanks,
-Vikas