통신 또는 API의 처리중 에러 발생시 이벤트
| Parameters | Type | Description |
|---|---|---|
| nErrorCode | short | 에러 코드 |
| strErrorMsg | STRING | 에러 메시지 |
| Type | Description |
|---|---|
| void |
function wssvr01_on_error(objInst, nErrorCode, strErrorMsg)
{
// 에러 발생
screen.alert(objInst.getname() + "_on_error : " + nErrorCode + ", " + strErrorMsg);
}