BitShares-Core  6.1.0
BitShares blockchain implementation and command-line interface software
datastream.cpp
Go to the documentation of this file.
1 #include <fc/io/datastream.hpp>
3 
4 [[noreturn]] void fc::detail::throw_datastream_range_error(char const* method, size_t len, int64_t over)
5 {
6  FC_THROW_EXCEPTION( out_of_range_exception, "${method} datastream of length ${len} over by ${over}", ("method",std::string(method))("len",len)("over",over) );
7 }
void throw_datastream_range_error(const char *file, size_t len, int64_t over)
Definition: datastream.cpp:4
#define FC_THROW_EXCEPTION(EXCEPTION, FORMAT,...)
Definition: exception.hpp:379
Defines exception&#39;s used by fc.