芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/www/vendor/facade/flare-client-php/src/Http/Exceptions/BadResponseCode.php
response = $response; $bodyErrors = isset($response->getBody()['errors']) ? $response->getBody()['errors'] : []; $exception->errors = $bodyErrors; return $exception; } public static function getMessageForResponse(Response $response) { return "Response code {$response->getHttpResponseCode()} returned"; } }