// generated by stringer -type=SystemErrCode; DO NOT EDIT

package tchannel

import "fmt"

const (
	_SystemErrCode_name_0 = "ErrCodeInvalidErrCodeTimeoutErrCodeCancelledErrCodeBusyErrCodeDeclinedErrCodeUnexpectedErrCodeBadRequestErrCodeNetwork"
	_SystemErrCode_name_1 = "ErrCodeProtocol"
)

var (
	_SystemErrCode_index_0 = [...]uint8{0, 14, 28, 44, 55, 70, 87, 104, 118}
	_SystemErrCode_index_1 = [...]uint8{0, 15}
)

func (i SystemErrCode) String() string {
	switch {
	case 0 <= i && i <= 7:
		return _SystemErrCode_name_0[_SystemErrCode_index_0[i]:_SystemErrCode_index_0[i+1]]
	case i == 255:
		return _SystemErrCode_name_1
	default:
		return fmt.Sprintf("SystemErrCode(%d)", i)
	}
}
