- Fix issue #94

- Fix linter
- Remove useless code/deadcode
This commit is contained in:
Nicolas JUHEL
2021-04-13 13:08:49 +02:00
parent 499b5ee613
commit dbb443eb65
48 changed files with 673 additions and 1418 deletions

View File

@@ -91,7 +91,7 @@ type Error interface {
IsCodeError(code CodeError) bool
//HasCodeError check if current error or parent has the given error code
HasCodeError(code CodeError) bool
//GetCodeError return the CodeError value of the curent error
//GetCodeError return the CodeError value of the current error
GetCodeError() CodeError
//GetCodeErrorParent return a slice of CodeError value of all parent Error and the code of the current Error
GetCodeErrorParent() []CodeError