IsInvalidLengthError is matcher function for custom error invalidLengthError
(err error)
| 80 | |
| 81 | // IsInvalidLengthError is matcher function for custom error invalidLengthError |
| 82 | func IsInvalidLengthError(err error) bool { |
| 83 | return errors.Is(err, ErrInvalidLength) |
| 84 | } |
| 85 | |
| 86 | // Parse decodes s into a UUID or returns an error if it cannot be parsed. Both |
| 87 | // the standard UUID forms defined in RFC 9562 |