Closed savisaar2 closed 8 years ago
I am using $summoner = $node1->league(347341);
when i try to var_dump($summoner); Nothing Shows?
i looked on the api testing and it comes back as 404. however i am unable to catch it with Http404 can you please give me an example how to catch the error if the league cannot be retrieved?
Thanks Alex
I am using $summoner = $node1->league(347341);
when i try to var_dump($summoner); Nothing Shows?
i looked on the api testing and it comes back as 404. however i am unable to catch it with Http404 can you please give me an example how to catch the error if the league cannot be retrieved?
Thanks Alex