2016-05-22 15:10:50 +00:00
|
|
|
// Code generated by "stringer -type=ErrCode"; DO NOT EDIT
|
2015-07-12 06:18:58 +00:00
|
|
|
|
|
|
|
package util
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
2015-05-17 19:33:41 +00:00
|
|
|
const _ErrCode_name = "AssertionErrorParseErrorServerNotAvailableNetworkErrorConnectionResetErrorAdbErrorDeviceNotFoundFileNoExistError"
|
2015-07-12 06:18:58 +00:00
|
|
|
|
2015-05-17 19:33:41 +00:00
|
|
|
var _ErrCode_index = [...]uint8{0, 14, 24, 42, 54, 74, 82, 96, 112}
|
2015-07-12 06:18:58 +00:00
|
|
|
|
|
|
|
func (i ErrCode) String() string {
|
2016-05-22 15:10:50 +00:00
|
|
|
if i >= ErrCode(len(_ErrCode_index)-1) {
|
2015-07-12 06:18:58 +00:00
|
|
|
return fmt.Sprintf("ErrCode(%d)", i)
|
|
|
|
}
|
|
|
|
return _ErrCode_name[_ErrCode_index[i]:_ErrCode_index[i+1]]
|
|
|
|
}
|