MCPcopy Create free account
hub / github.com/apache/fory / encode_error

Method encode_error

cpp/fory/util/error.h:123–125  ·  view source on GitHub ↗

Creates an encoding error.

Source from the content-addressed store, hash-verified

121
122 /// Creates an encoding error.
123 static Error encode_error(const std::string &msg) {
124 return Error(ErrorCode::EncodeError, msg);
125 }
126
127 /// Creates an invalid data error.
128 static Error invalid_data(const std::string &msg) {

Callers

nothing calls this directly

Calls 1

ErrorClass · 0.70

Tested by

no test coverage detected