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

Method py_message

src/Exceptions.h:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 FrameExceptionBase(std::string message, int64_t frame_number=-1)
49 : ExceptionBase(message), frame_number(frame_number) { }
50 virtual std::string py_message() const override {
51 // return complete message for Python exception handling
52 std::string out_msg(m_message +
53 (frame_number > 0
54 ? " at frame " + std::to_string(frame_number)
55 : ""));
56 return out_msg;
57 }
58 };
59
60

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected