microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
122 stars 40 forks source link

More specific subcodes/diag fields for expired token #35

Closed mikepizzo closed 8 years ago

mikepizzo commented 8 years ago

Should we define more specific subcodes/diag fields for expired token?

mikepizzo commented 8 years ago

In many cases, the service won’t know that the connection issue was an expired token versus some other connection failure, so we’d still have to allow fall-back to the general ConnectionFailure.

Probably not a lot of value in defining a more specific code if drivers will generally not be able to return it, and applications would therefore not be able to rely on it for conditional logic.