Searched refs:bad_format_error (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/external/bsd/kyua-cli/dist/utils/format/ |
H A D | exceptions.cpp | 31 using utils::format::bad_format_error; 51 /// Constructs a new bad_format_error. 55 bad_format_error::bad_format_error(const std::string& format_, function in class:bad_format_error 64 bad_format_error::~bad_format_error(void) throw() 71 bad_format_error::format(void) const
|
H A D | exceptions_test.cpp | 35 using utils::format::bad_format_error; 48 ATF_TEST_CASE_WITHOUT_HEAD(bad_format_error); variable 49 ATF_TEST_CASE_BODY(bad_format_error) 51 const bad_format_error e("format-string", "the-error"); 72 ATF_ADD_TEST_CASE(tcs, bad_format_error);
|
H A D | exceptions.hpp | 51 class bad_format_error : public error { class in namespace:utils::format 56 explicit bad_format_error(const std::string&, const std::string&); 57 virtual ~bad_format_error(void) throw();
|
H A D | formatter_test.cpp | 222 using format::bad_format_error; 224 ATF_REQUIRE_THROW_RE(bad_format_error, "Trailing %", F("%")); 225 ATF_REQUIRE_THROW_RE(bad_format_error, "Trailing %", F("f%")); 226 ATF_REQUIRE_THROW_RE(bad_format_error, "Trailing %", F("f%%%")); 227 ATF_REQUIRE_THROW_RE(bad_format_error, "Trailing %", F("ab %s cd%") % "cd"); 229 ATF_REQUIRE_THROW_RE(bad_format_error, "Invalid width", F("%1bs")); 231 ATF_REQUIRE_THROW_RE(bad_format_error, "Invalid precision", F("%.s")); 232 ATF_REQUIRE_THROW_RE(bad_format_error, "Invalid precision", F("%0.s")); 233 ATF_REQUIRE_THROW_RE(bad_format_error, "Invalid precision", F("%123.s")); 234 ATF_REQUIRE_THROW_RE(bad_format_error, "Invali [all...] |
H A D | formatter.cpp | 61 /// \throw bad_format_error If the input string contains a trailing formatting 75 throw format::bad_format_error(format, "Trailing %"); 83 throw format::bad_format_error(format, "Unterminated placeholder '" + 103 throw format::bad_format_error(format, "Invalid " + std::string(what) + 116 /// \throw bad_format_error If the format string is bad. We do minimal
|
Completed in 89 milliseconds