1 // read_number_bad_syntax_exception().
7 #include "cln/number_io.h"
17 static inline const std::string
18 read_number_bad_syntax_msg (const char * string, const char * string_limit)
20 std::ostringstream buf;
21 fprint(buf, "Illegal number syntax: \"");
22 for (const char * ptr = string; ptr != string_limit; ptr++)
23 fprintchar(buf, *ptr);
28 read_number_bad_syntax_exception::read_number_bad_syntax_exception (const char * string, const char * string_limit)
29 : read_number_exception(read_number_bad_syntax_msg(string, string_limit))