(err error)
| 49 | } |
| 50 | |
| 51 | func IsErrKeyNotExist(err error) bool { |
| 52 | _, ok := err.(ErrKeyNotExist) |
| 53 | return ok |
| 54 | } |
| 55 | |
| 56 | func (err ErrKeyNotExist) Error() string { |
| 57 | return fmt.Sprintf("public key does not exist [id: %d]", err.ID) |
no outgoing calls
no test coverage detected