(msg string)
| 257 | func (e *ErrorEvent) GetSessionID() string { return e.SessionID } |
| 258 | |
| 259 | func Error(msg string) Event { |
| 260 | return &ErrorEvent{ |
| 261 | Type: "error", |
| 262 | Error: msg, |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | func ErrorWithCode(code, msg string) Event { |
| 267 | return &ErrorEvent{ |
no outgoing calls