mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-26 23:32: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...))
|
|
}
|