socketry / cloudflare

An asynchronous Ruby wrapper for the CloudFlare V4 API.
MIT License
138 stars 86 forks source link

Custom exception class. #6

Closed ioquatix closed 10 years ago

ioquatix commented 10 years ago

Raising a string with no wrapper class is probably considered confusing and bad practice. Fixed it with a custom class RequestError.