|
@ -28,7 +28,7 @@ func (res Result) IsErr() bool { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (res Result) Error() string { |
|
|
func (res Result) Error() string { |
|
|
return fmt.Sprintf("TMSP error code:%v, data:%X, log:%v", res.Code, res.Data, res.Log) |
|
|
|
|
|
|
|
|
return fmt.Sprintf("TMSP code:%v, data:%X, log:%v", res.Code, res.Data, res.Log) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (res Result) PrependLog(log string) Result { |
|
|
func (res Result) PrependLog(log string) Result { |
|
|