Created
October 28, 2024 20:12
-
-
Save javierguerrero/188d0aa945e4973739b30c260dd19953 to your computer and use it in GitHub Desktop.
exception_handling_csharp_chapter5_8.cs
This file contains 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 | |
{ | |
// Código que puede lanzar excepciones | |
} | |
catch (Exception ex) | |
{ | |
Log.Error(ex, "Error inesperado en la operación."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment