Skip to content

Commit f1986f8

Browse files
jsvisakaralabe
authored andcommitted
signer: remove useless errorWrapper (#17003)
1 parent 28aca90 commit f1986f8

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎signer/core/api.go‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,6 @@ type (
189189

190190
var ErrRequestDenied = errors.New("Request denied")
191191

192-
type errorWrapper struct {
193-
msg string
194-
err error
195-
}
196-
197-
func (ew errorWrapper) String() string {
198-
return fmt.Sprintf("%s\n%s", ew.msg, ew.err)
199-
}
200-
201192
// NewSignerAPI creates a new API that can be used for Account management.
202193
// ksLocation specifies the directory where to store the password protected private
203194
// key that is generated when a new Account is created.

0 commit comments

Comments
 (0)