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

Function SerializationError

go/fory/errors.go:202–207  ·  view source on GitHub ↗

SerializationError creates a general serialization error go:noinline

(msg string)

Source from the content-addressed store, hash-verified

200//
201//go:noinline
202func SerializationError(msg string) Error {
203 return panicIfEnabled(Error{
204 kind: ErrKindSerializationFailed,
205 message: msg,
206 })
207}
208
209// SerializationErrorf creates a formatted serialization error
210//

Callers 5

WriteDataMethod · 0.85
writeRemainingFieldMethod · 0.85
ReadDataMethod · 0.85
WriteDataMethod · 0.85
WriteMethod · 0.85

Calls 1

panicIfEnabledFunction · 0.85

Tested by

no test coverage detected