On Monday, February 10, 2020 at 12:27:26 PM UTC-8, BeeRich33 wrote:
>
> Is there any way I can replicate a *PG* gem error message?
>
> return res.error_message
>

In general, Sequel wraps driver errors and uses the same message preceded 
by the exception class name. The underlying exception is available in 
#wrapped_exception, and maybe #cause in modern versions of Ruby.

If that isn't enough information to go on, you'll have to provide an 
example of what you want.  

Thanks,
Jeremy

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/70274d5a-9092-4810-91d0-f8b0e339c668%40googlegroups.com.

Reply via email to