Is there any way to manually make CH throw a specific error?

Something like this:
```sql
SELECT throwError(999);

Received exception from server (version 22.2.2):
Code: 999. DB::Exception: KEEPER_EXCEPTION ...
```

PS:
*Although there is a similar function (`throwIf`), it only returns code=395 (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO).*

**Use case**

We're looking something like this so we can simulate errors and take relevant actions agains some errors.

{
        if (const auto in = checkAndGetColumn<ColumnVector<T>>(in_untyped))
        {
            const auto size = in->size();
            auto out = ColumnUInt8::create(size);
            const auto & in_data = in->getData();
            auto & out_data = out->getData();
            for (const auto i : collections::range(0, size))
                out_data[i] = Impl::execute(in_data[i]);
            return out;
        }
        return nullptr;
    }
};
}