mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 20:21:56 +00:00
saving development state...
This commit is contained in:
10
common/errors.go
Normal file
10
common/errors.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func Errorf(s string, args ...interface{}) error {
|
||||
return errors.New(fmt.Sprintf(s, args...))
|
||||
}
|
Reference in New Issue
Block a user