eugenezadorin / airtable-php

Simple PHP client for Airtable API
20 stars 7 forks source link

Include invalid URI in Request::setUri invalid URI Exception #12

Open martinopic opened 3 months ago

martinopic commented 3 months ago

when throwing the InvalidArgument Exception for an invalid URI in Request::setURI it would be nice to have the invalid URI for debug purposes in the exception message:

Request, line 22: throw new Errors\InvalidArgument('Invalid URI: ' . $uri);