MCPcopy Create free account
hub / github.com/go-json-experiment/json / isFatalError

Function isFatalError

errors.go:62–65  ·  view source on GitHub ↗

isFatalError reports whether this error must terminate arshaling. All errors are considered fatal unless operating under [jsonflags.ReportErrorsWithLegacySemantics] in which case only syntactic errors and I/O errors are considered fatal.

(err error, flags jsonflags.Flags)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

makeMapArshalerFunction · 0.85
makeStructArshalerFunction · 0.85
makeSliceArshalerFunction · 0.85
makeArrayArshalerFunction · 0.85
unmarshalObjectAnyFunction · 0.85
unmarshalArrayAnyFunction · 0.85

Calls 3

isSyntacticErrorFunction · 0.85
GetMethod · 0.80
IsIOErrorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…