logging of return values and add logging of exceptional returns from json function calls. Continue my endless quest to break the mac build.
7 lines
337 B
C++
7 lines
337 B
C++
#include <fc/io/datastream.hpp>
|
|
#include <fc/exception/exception.hpp>
|
|
|
|
NO_RETURN void fc::detail::throw_datastream_range_error(char const* method, size_t len, int64_t over)
|
|
{
|
|
FC_THROW_EXCEPTION( out_of_range_exception, "${method} datastream of length ${len} over by ${over}", ("method",fc::string(method))("len",len)("over",over) );
|
|
}
|