throw two errors