mirror of
https://github.com/yibaiba/hideck.git
synced 2026-12-06 00:01:20 +00:00
9 lines
418 B
Go
9 lines
418 B
Go
package modem
|
|
|
|
// A failed CLCC is still a failure. Keep its partial response available to the
|
|
// caller for an explicit retry, without putting call numbers into error logs.
|
|
type clccResponseError struct{ response, terminal string }
|
|
|
|
func (e *clccResponseError) Error() string { return "CLCC 设备返回错误: " + e.terminal }
|
|
func (e *clccResponseError) PartialATResponse() string { return e.response }
|