============================================================================ Error State Methods - For deferred error checking pattern ============================================================================ HasError returns true if an error has occurred
()
| 119 | |
| 120 | // HasError returns true if an error has occurred |
| 121 | func (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 |
| 126 | func (c *ReadContext) Err() *Error { |
no outgoing calls