Cloudflare 中文文档
Workers
Workers
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

Error handling

​​ Exceptions

An exception thrown by an RPC method implementation will propagate to the caller. If it is one of the standard JavaScript Error types, the message and prototype’s name will be retained, though the stack trace is not.

​​ Unsupported error types

​​ Additional properties

For some remote exceptions, the runtime may set properties on the propagated exception to provide more information about the error; see Durable Object error handling for more details.