Revert "可以直接这样抛出错误么？"

This reverts commit ecdc63234869582e5986eecdf9bb1b845ff2bfbd.