powered by
Error if subject.vec or pattern incorrect type.
subject.vec
pattern
check_subject_pattern(subject.vec, pattern)