fix: token check and error unwrapping (#3648)

* fix: token check and error unwrapping

* remove unused code
This commit is contained in:
Livio Amstutz
2022-05-18 10:49:16 +02:00
committed by GitHub
parent 4ec006dd02
commit 616b31c959
13 changed files with 46 additions and 33 deletions

View File

@@ -33,3 +33,7 @@ func (err *NotFoundError) Is(target error) bool {
}
return err.CaosError.Is(t.CaosError)
}
func (err *NotFoundError) Unwrap() error {
return err.CaosError
}