@throws @throws : 说明可能会被抛出什么样的错误。 此标签推荐使用PhpStorm/WebStorm进行阅读,可以能直观体现标签的作用 语法 @throws free-form description @throws {<type>} @throws {<type>} free-form description 概述 @throws标签可以让你描述函数可能会抛出的错误。在一个JSDoc注释块中您可以包含多个@throws标签。 标签效果