Within a package, however, especially if there are deeply nested calls to non-exported functions, it can be useful (and improve readability) to use panic to indicate error conditions which should be translated into an error for the calling function.
原译文有机翻的感觉。鉴于英文原文这一段的句式,我觉得意思表达到了就行。