Laravel error handling explain in detail with an example