loopline-systems / closeio-api-wrapper

PHP Wrapper to use the Close.io API
MIT License
14 stars 15 forks source link

Structured error messages break CloseIoResponseException creation #112

Open omissis opened 3 years ago

omissis commented 3 years ago

Summary

HTTP 429 responses return a structured message -as opposed to a string- that breaks the CloseIoResponseException constructor, as it's always expecting a string.