BE_ERROR uses std::string instead of LPCWSTR for ease of use in future.