Created
April 21, 2017 04:06
-
-
Save corean/d4d478ceaea4f157c148c51f101fa912 to your computer and use it in GitHub Desktop.
laravel try-catch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
// | |
} catch (\Exception $e) { | |
return $e->getMessage(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment