eth/catalyst: implement kintsugi-spec v3 (#24067)
This commit is contained in:
committed by
GitHub
parent
f5f5c0855a
commit
2295640ebd
@ -104,10 +104,10 @@ func (e *invalidParamsError) ErrorCode() int { return -32602 }
|
||||
func (e *invalidParamsError) Error() string { return e.message }
|
||||
|
||||
type CustomError struct {
|
||||
Code int
|
||||
Message string
|
||||
Code int
|
||||
ValidationError string
|
||||
}
|
||||
|
||||
func (e *CustomError) ErrorCode() int { return e.Code }
|
||||
|
||||
func (e *CustomError) Error() string { return e.Message }
|
||||
func (e *CustomError) Error() string { return e.ValidationError }
|
||||
|
Reference in New Issue
Block a user