laravel project

added custom errors and logged them