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

Method HasError

go/fory/reader.go:121–123  ·  view source on GitHub ↗

============================================================================ Error State Methods - For deferred error checking pattern ============================================================================ HasError returns true if an error has occurred

()

Source from the content-addressed store, hash-verified

119
120// HasError returns true if an error has occurred
121func (c *ReadContext) HasError() bool {
122 return c.err.HasError()
123}
124
125// Err returns a pointer to the accumulated error for passing to buffer methods
126func (c *ReadContext) Err() *Error {

Callers 9

readExpectedTypeIDMethod · 0.95
ReadBufferObjectMethod · 0.95
ReadValueMethod · 0.95
ReadArrayValueMethod · 0.95
CheckErrorMethod · 0.45
ReadCollectionLengthMethod · 0.45
ReadBinaryLengthMethod · 0.45
ReadStructMethod · 0.45

Calls

no outgoing calls