adding IsError to KSyntax