nov / fb_graph

This gem doesn't support FB Graph API v2.0+. Please use fb_graph2 gem instead.
MIT License
1.04k stars 191 forks source link

Use i18n for exception messages #203

Closed niuage closed 12 years ago

niuage commented 12 years ago

It would be cool if you could use i18n for error messages, so that we can override them easily.

I'm especially thinking about this particular message which doesn't sound right. 'Graph API returned false, so probably it means your requested object is not found.'

Maybe I should just rescue the NotFound exception and have my own message, but still :)

Thanks.

nov commented 12 years ago

Rejected. Don't show fb_graph (or FB Graph API) error message to end-users. Handle them in your code.

niuage commented 12 years ago

Right, thanks :)