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

Method HasError

go/fory/errors.go:104–106  ·  view source on GitHub ↗

HasError returns true if an error occurred

()

Source from the content-addressed store, hash-verified

102
103// HasError returns true if an error occurred
104func (e Error) HasError() bool {
105 return e.kind != ErrKindOK
106}
107
108// Kind returns the error kind for fast dispatch
109func (e Error) Kind() ErrorKind {

Calls

no outgoing calls