goadb/util/errcode_string.go
2015-07-12 00:37:58 -07:00

17 lines
445 B
Go

// generated by stringer -type=ErrCode; DO NOT EDIT
package util
import "fmt"
const _ErrCode_name = "AssertionErrorParseErrorServerNotAvailableNetworkErrorAdbErrorDeviceNotFoundFileNoExistError"
var _ErrCode_index = [...]uint8{0, 14, 24, 42, 54, 62, 76, 92}
func (i ErrCode) String() string {
if i+1 >= ErrCode(len(_ErrCode_index)) {
return fmt.Sprintf("ErrCode(%d)", i)
}
return _ErrCode_name[_ErrCode_index[i]:_ErrCode_index[i+1]]
}