mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-28 04:01:40 +00:00
Errorf -> fmt.Errorf
This commit is contained in:
@ -1,14 +1,9 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func Errorf(s string, args ...interface{}) error {
|
||||
return errors.New(fmt.Sprintf(s, args...))
|
||||
}
|
||||
|
||||
type StackError struct {
|
||||
Err interface{}
|
||||
Stack []byte
|
||||
|
Reference in New Issue
Block a user