()
| 47 | type invalidLengthError struct{ len int } |
| 48 | |
| 49 | func (err invalidLengthError) Error() string { |
| 50 | return fmt.Sprintf("invalid UUID length: %d", err.len) |
| 51 | } |
| 52 | |
| 53 | // IsInvalidLengthError is matcher function for custom error invalidLengthError |
| 54 | func IsInvalidLengthError(err error) bool { |
no outgoing calls