You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2025. It is now read-only.
If i try to get coin data there no exists, it will a execption come.
Client error:GET https://api.coingecko.com/api/v3/coins/beluga.fi?tickers=true&market_data=true&sparkline=true` resulted in a404 Not Foundresponse: {"error":"Could not find coin with the given id"} `This Execption cant be catcht, because there are come from GUZZLE Client.
How can i catch these exeptions?
Currently i have to change the CoinGeckoClient Constructor and add a new parameter, like
$this->httpClient = $client ?: new Client(['base_uri' => self::BASE_URI, 'http_errors' => false]);That feel like bad.