MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / record_error

Method record_error

src/liboslexec/context.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218void
219ShadingContext::record_error (ErrorHandler::ErrCode code,
220 const std::string &text) const
221{
222 m_buffered_errors.emplace_back(code,text);
223 // If we aren't buffering, just process immediately
224 if (! shadingsys().m_buffer_printf)
225 process_errors ();
226}
227
228
229

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected