assert pgmoon errors in spec query mode