// Code generated by "stringer -type=ErrorCode -linecomment"; DO NOT EDIT.

package adt

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[EvalError-0]
	_ = x[UserError-1]
	_ = x[LegacyUserError-2]
	_ = x[StructuralCycleError-3]
	_ = x[IncompleteError-4]
	_ = x[CycleError-5]
}

const _ErrorCode_name = "evaluseruserstructural_cycleincompletecycle"

var _ErrorCode_index = [...]uint8{0, 4, 8, 12, 28, 38, 43}

func (i ErrorCode) String() string {
	idx := int(i) - 0
	if i < 0 || idx >= len(_ErrorCode_index)-1 {
		return "ErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _ErrorCode_name[_ErrorCode_index[idx]:_ErrorCode_index[idx+1]]
}
