#include <utils/fail_message.hpp>
#include <sstream>

std::string buildFailureMessage(char const* const file, int const line,
                                char const* const func, std::string const& msg)
{
    std::stringstream sstr;
    sstr << std::string(file)
         << '[' << line << "]{" << std::string(func) << "} : "
         << msg
         ;
    return sstr.str();
}
