8 lines
336 B
C++
8 lines
336 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, size_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) );
|
||
|
|
}
|