raise error if plugin does not support target function