introduce UuidError for general Uuid use #284
No reviewers
Labels
No labels
breaking
bug
dependencies
good first issue
help wanted
unstable
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-uuid-rs/uuid!284
Loading…
Reference in a new issue
No description provided.
Delete branch "uuid_error"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm submitting a(n) feature, refactor
Description
::UuidErrortype.::Uuid::from_fields,::Uuid::new_v1and::Uuid::from_bytesto use the new error type.This now splits the
Uuidcreation types into 3 categories:ParseError)UuidError)Motivation
ParseErroris oriented around parsing uuid strings. However, that error type does not bode well functions that are accepting bytes.Tests
All current tests pass with the signature change. No new tests added
Related Issue(s)
closes #281
bors: r+
Build succeeded