mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-28 16:22:15 +00:00
11 lines
142 B
Go
11 lines
142 B
Go
|
package common
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func Errorf(s string, args ...interface{}) error {
|
||
|
return errors.New(fmt.Sprintf(s, args...))
|
||
|
}
|