martinrybak / SQLClient

Native Microsoft SQL Server client for iOS
http://objcsharp.wordpress.com/2013/10/15/an-open-source-sql-server-library-for-ios/
MIT License
124 stars 51 forks source link

Quick Question on Alerts #18

Closed kylebshr closed 7 years ago

kylebshr commented 10 years ago

Hey there,

In the app I'm using I have some custom alerts for when the app fails to connect, but there are also several errors that pop up from the SQLClient itself. I've browsed through most of the code and I can't find where they're coming from. What's the best to take those out/suppress them? Thank you!

Kyle

martinrybak commented 7 years ago

The only way SQLClient communicates errors are through the 2 SQLClientDelegate methods. They in turn get their errors from the underlying FreeTDS library. If you want to ignore some errors, your handler can examine their code or severity.