mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
change formatter
This commit is contained in:
parent
07fb925ac6
commit
fc6fb1a311
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ type EngineAPIError struct {
|
|||
}
|
||||
|
||||
func (e *EngineAPIError) ErrorCode() int { return e.code }
|
||||
func (e *EngineAPIError) Error() string { return fmt.Sprintf("msg: \"%s\". err: \"%w\"", e.msg, e.err) }
|
||||
func (e *EngineAPIError) Error() string { return fmt.Sprintf("msg: \"%s\". err: \"%v\"", e.msg, e.err) }
|
||||
func (e *EngineAPIError) ErrorData() interface{} {
|
||||
if e.err == nil {
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue