tmdb_v3-PHP-API- icon indicating copy to clipboard operation
tmdb_v3-PHP-API- copied to clipboard

Error Handler

Open kevingorman1000 opened this issue 2 years ago • 0 comments

When doing a $tmdb->getMovie($movieId);, what is the best way to return false if said movie doesn't exist?

For example, $tmdb->getMovie(asdasdas); would return false as asdasdas wouldn't be a valid movie ID.

kevingorman1000 avatar Oct 16 '22 23:10 kevingorman1000