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