Skip to content

Commit

Permalink
feat(common): add auth token errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Oct 3, 2020
1 parent fa7781c commit 1e388a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ var (
ErrPastExpiration = errors.New("expires_on can not be date in past")
ErrUrlAlreadyShort = errors.New("the url is already shortened")
ErrNoMatchingData = errors.New("no data matching given criteria found")
ErrTokenRequired = errors.New("auth token is required")
ErrTokenInvalid = errors.New("auth token is invalid")
)

0 comments on commit 1e388a2

Please sign in to comment.