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.

void loadSettingsFromConfig(const String & path, const Poco::Util::AbstractConfiguration & config);
    /// 
    void dumpToMapColumn(IColumn * column, bool changed_only = true);
    /// 
    /// 
    void addProgramOptions(boost::program_options::options_description & options);
    /// 
    /// 
    /// 
    void addProgramOptionsAsMultitokens(boost::program_options::options_description & options);
    /// 
    /// 
    static void checkNoSettingNamesAtTopLevel(const Poco::Util::AbstractConfiguration & config, const String & config_path);
    std::vector<String> getAllRegisteredNames() const override;
    void addProgramOption(boost::program_options::options_description & options, const SettingFieldRef & field);
    void addProgramOptionAsMultitoken(boost::program_options::options_description & options, const SettingFieldRef & field);
    void set(std::string_view name, const Field & value) override;
private:
    void applyCompatibilitySetting();
    std::unordered_set<std::string_view> settings_changed_by_compatibility_setting;
};
/*
 * User-specified file format settings for File and URL engines.
 */
DECLARE_SETTINGS_TRAITS(FormatFactorySettingsTraits, FORMAT_FACTORY_SETTINGS)
struct FormatFactorySettings : public BaseSettings<FormatFactorySettingsTraits>
{
};
}