throw an error if positional operator can not be applied