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

Function SerializationErrorf

go/fory/errors.go:212–217  ·  view source on GitHub ↗

SerializationErrorf creates a formatted serialization error go:noinline

(format string, args ...any)

Source from the content-addressed store, hash-verified

210//
211//go:noinline
212func SerializationErrorf(format string, args ...any) Error {
213 return panicIfEnabled(Error{
214 kind: ErrKindSerializationFailed,
215 message: fmt.Sprintf(format, args...),
216 })
217}
218
219// DeserializationError creates a general deserialization error
220//

Callers 11

WriteMethod · 0.85
WriteDataMethod · 0.85
writeUnionOverrideValueFunction · 0.85
WriteDataMethod · 0.85
DateToEpochDayFunction · 0.85
WriteDataMethod · 0.85
WriteMethod · 0.85
WriteLengthMethod · 0.85
WriteBufferObjectMethod · 0.85
WriteValueMethod · 0.85

Calls 1

panicIfEnabledFunction · 0.85

Tested by

no test coverage detected