I usually prefer to raise an exception in these cases, maybe holding a bit of context like table name and filters used. Feel free to keep it in this way tough :)