Hello sequel team,

I am trying to capture error messages based on different scenarios when 
calling stored procedures on T-SQL. I am able to grab result_set properly 
when return_code 0 as the first row for normal successful case. However, 
there are cases wherein, result set returns 0 return_code as well even if 
it's a valid error. Since most of these valid errors have corresponding 
error message, how can I grab these error_message using ruby? 

On another scenario where it raises an exception error, I can get the 
"wrapped_exception.error_code". My second question is still how to get or 
is there any method available to grab the rest of the message as a whole or 
even by component such as "error_code" from wrapped_exception? 

Thanks so much for your help,
elmer

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to