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

Method not_allowed

cpp/fory/util/error.h:163–165  ·  view source on GitHub ↗

Creates a not allowed operation error.

Source from the content-addressed store, hash-verified

161
162 /// Creates a not allowed operation error.
163 static Error not_allowed(const std::string &msg) {
164 return Error(ErrorCode::NotAllowed, msg);
165 }
166
167 /// Creates a struct version mismatch error.
168 static Error struct_version_mismatch(const std::string &msg) {

Callers

nothing calls this directly

Calls 1

ErrorClass · 0.70

Tested by

no test coverage detected