Is implements the interface for errors.Is.
(target error)
| 73 | |
| 74 | // Is implements the interface for errors.Is. |
| 75 | func (e Error) Is(target error) bool { |
| 76 | return errors.Is(e.code, target) |
| 77 | } |
| 78 | |
| 79 | // Code returns the error code. |
| 80 | func (e Error) Code() ErrorCode { |
no outgoing calls
no test coverage detected