BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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 }
fc::detail::throw_datastream_range_error
void throw_datastream_range_error(const char *file, size_t len, int64_t over)
Definition: datastream.cpp:4
exception.hpp
Defines exception's used by fc.
FC_THROW_EXCEPTION
#define FC_THROW_EXCEPTION(EXCEPTION, FORMAT,...)
Definition: exception.hpp:379
datastream.hpp