This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.11.3.4.2. 返回状态代码
您可以通过在返回对象中添加 statusCode 属性来设置 return 到调用者的状态代码:
状态代码示例
也可以为函数创建和丢弃的错误设置状态代码:
错误状态代码示例