Skip to content

Commit

Permalink
Merge pull request #6 from go-pogo/develop
Browse files Browse the repository at this point in the history
v0.7.3
  • Loading branch information
roeldev authored Apr 1, 2022
2 parents a6d1ebe + ab55344 commit b4a0770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ func New(msg interface{}) error {
switch v := msg.(type) {
case *commonError:
return v
case *embedError:
return v

case string:
return newCommonErr(Msg(v), true)
Expand Down

0 comments on commit b4a0770

Please sign in to comment.