Skip to content

Commit

Permalink
Merge pull request #16 from plainq:errkit_add_err
Browse files Browse the repository at this point in the history
Add ErrValidation error to errkit package
  • Loading branch information
heartwilltell authored Feb 4, 2025
2 parents 82e3c1c + 83286dc commit fd2edde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions errkit/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const (

// ErrInvalidID represents an error which indicates that given TID is invalid.
ErrInvalidID Error = "invalid identifier"

// ErrValidation indicates that the data is not valid.
ErrValidation Error = "validation failed"
)

// Error type represents package level errors.
Expand Down

0 comments on commit fd2edde

Please sign in to comment.