btcpayserver / btcpayserver-php-client

PHP implementation for the BTCPayServer cryptographically secure RESTful API
MIT License
29 stars 33 forks source link

Improved response error handling #13

Closed woutersamaey closed 5 years ago

woutersamaey commented 5 years ago

Improved response error handling Now handles 401 unauthorized errors Moved 3x copy pasted code into 1 method