base. Add a namespace XKV to error and throw macros.