OnErr is a helper function to handle errors, that runs the given function and,
in case of error, it prints the error message and exits (1) the program.
func OrRet[T any](fn func() (T, error), mm ...string) (t T)
OrRet is a helper function to handle errors, that runs the given function and,
in case of error, it prints the error message and exits (1) the program.
It is similar to OnErr, but in case of success it returns the value.