-
-
Save goksu/6d8bc4116f8b2651f4039bff76d0191b to your computer and use it in GitHub Desktop.
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
func MeasureDistance() (distance int, err Error) { | |
someCalculus() | |
unexpectedDivideByZeroFunc() | |
// TODO: Send the errors back when the inner funcs start reporting them. | |
return distance, nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment