Try Catch error handling try { } catch (Exception $e) { echo 'Exception: ', $e->getMessage(), "\n"; } Read More →