MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / py_message

Method py_message

src/Exceptions.h:281–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279 : ExceptionBase(message), json(json) { }
280 virtual ~InvalidJSONKey() noexcept {}
281 std::string py_message() const override {
282 std::string out_msg = m_message +
283 " for JSON data " +
284 (json.size() > 100 ? " (abbreviated): " : ": ")
285 + json.substr(0, 99);
286 return out_msg;
287 }
288 };
289
290 /// Exception when no streams are found in the file

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected