laravel-unsplash
laravel-unsplash copied to clipboard
Showing Client error if results is empty
If empty results then showing this Client error:
message: "Client error: GET https://api.unsplash.com/photos/random?orientation=landscape&query=xdgdsgdsgdgdgd&count=6
resulted in a 404 Not Found
response:\n{"errors":["No photos found."]}\n"