goadb/internal/errors/errcode_string.go
Zach Klippenstein 701ea3a245 Moved error definitions to an internal package, deleted the confusing util package.
Public API for error querying and formatting lives in top-level package.
2016-05-22 10:49:34 -07:00

17 lines
479 B
Go

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