fix: modify interface check way (#3327)

This commit is contained in:
Jesse
2022-10-20 00:49:19 +08:00
committed by GitHub
parent 33ab0fc155
commit 51aea73ba0
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ type Error struct {
type errorMsgs []*Error
var _ error = &Error{}
var _ error = (*Error)(nil)
// SetType sets the error's type.
func (msg *Error) SetType(flags ErrorType) *Error {