MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / guard_error

Class guard_error

include/chaiscript/dispatchkit/proxy_functions.hpp:326–336  ·  view source on GitHub ↗

\brief Exception thrown if a function's guard fails

Source from the content-addressed store, hash-verified

324 {
325 /// \brief Exception thrown if a function's guard fails
326 class guard_error : public std::runtime_error
327 {
328 public:
329 guard_error() noexcept
330 : std::runtime_error("Guard evaluation failed")
331 { }
332
333 guard_error(const guard_error &) = default;
334
335 ~guard_error() noexcept override = default;
336 };
337 }
338
339 namespace dispatch

Callers 2

do_callMethod · 0.85
do_callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected