These are chat archives for rails-sqlserver/activerecord-sqlserver-adapter

15th
Sep 2015
Ken Collins
@metaskills
Sep 15 2015 11:15
Any low level connection error is always wrapped by ActiveRecord.
Some explicitly via the API of wrapped exceptions.
The idea is that you deal wht AR, not the connection mode.
cc @MrLinDowsMac
Good example of our translated exceptions.
All others should be StatementInvalid
Remember, using exceptions for control flow is expensive.
It is best to just do what is needed to avoid it. How is YMMV.
Ian Nájar
@MrLinDowsMac
Sep 15 2015 16:18
MMm... I have store procedures with personalized errors, so I'm not sure If I will able to display those messages... :worried: