What You Have to Know About Syntactic Support for Error Handling
No se pudo agregar al carrito
Add to Cart failed.
Error al Agregar a Lista de Deseos.
Error al eliminar de la lista de deseos.
Error al añadir a tu biblioteca
Error al seguir el podcast
Error al dejar de seguir el podcast
-
Narrado por:
-
De:
This story was originally published on HackerNoon at: https://hackernoon.com/what-you-have-to-know-about-syntactic-support-for-error-handling.
One of the oldest and most persistent complaints about Go concerns the verbosity of error handling.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #go, #golang, #error-handling, #syntactic-support, #error-handling-syntax, #go-functions, #go-support, #hackernoon-top-story, and more.
This story was written by: @Go. Learn more about this writer by checking @Go's about page, and for more stories, please visit hackernoon.com.
Go has a built-in error handling function called 'try' It is used to augment errors before returning them. Go users have long complained about the verbosity of error handling. The Go team has tried to come up with a solution for this problem for years.