chore: using errors pkg instead of fmt

This commit is contained in:
tgbv 2023-09-30 18:01:44 +03:00
parent 0a0b34ff53
commit a541ac2223

View File

@ -414,7 +414,7 @@ func (t *Tunnels) Create() error {
err := func() error {
row := tl.GetSelectedRow()
if row == nil {
return fmt.Errorf("No row selected.")
return errors.New("No row selected.")
}
name, err := row.GetName()