-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update error in
SignedEntity
to be more descriptive (#3233)
* fix: add func to generate `entity not found` error Signed-off-by: Vishal Choudhary <[email protected]> * fix: update format specifier in fmt.Errorf Signed-off-by: Vishal Choudhary <[email protected]> * feat: make ErrEntityNotFound error message less common Signed-off-by: Vishal Choudhary <[email protected]> * feat: make EntityNotFoundError a first-class error Signed-off-by: Vishal Choudhary <[email protected]> --------- Signed-off-by: Vishal Choudhary <[email protected]>
- Loading branch information
1 parent
b09f72d
commit 86252aa
Showing
2 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters