atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 217 forks source link

Make `ResponseError#data` public #288

Closed AlexWayfer closed 1 year ago

AlexWayfer commented 1 year ago

It's useful for checks by fields inside rescue, re-raise or not.

Also:

AlexWayfer commented 1 year ago

Suppressed by #290, more general improvements for this error.