define shared error codes for `HighlightFailed`