Skip to content

Home > @esengine/ecs-framework-monorepo > IClientTransport > onError

IClientTransport.onError() method

监听错误事件

Signature:

typescript
onError(handler: (error: Error) => void): void;

Parameters

Parameter

Type

Description

handler

(error: Error) => void

处理函数

Returns:

void

基于 MIT 许可证发布