hanayo/vendor/github.com/pariz/gountries/error.go
2019-02-23 13:29:15 +00:00

11 lines
185 B
Go

package gountries
import (
"fmt"
)
// Error returns a formatted error
func makeError(errMsg, errType string) error {
return fmt.Errorf("gountries error. %s: %s", errMsg, errType)
}