Skip to content

Commit

Permalink
Add more information to error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
martineckardt committed Mar 26, 2024
1 parent e03e43a commit d6935ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const (
)

var (
ErrEmptyExecPath = errors.New("avalanche exec is not defined")
ErrNotExists = errors.New("avalanche exec not exists")
ErrNotExistsPlugin = errors.New("plugin exec not exists")
ErrEmptyExecPath = errors.New("the path to the avalanchego executable is not defined. please make sure to either set the AVALANCHEGO_EXEC_PATH environment variable or pass the path with the --avalanchego-path flag")
ErrNotExists = errors.New("the avalanchego executable does not exists at the provided path")
ErrNotExistsPlugin = errors.New("the vm plugin does not exists at the provided path. please check if the plugin path is set correctly in the AVALANCHEGO_PLUGIN_PATH environment variable or the --plugin-dir flag and if the plugin binary is located there")
ErrorNoNetworkIDKey = fmt.Errorf("couldn't find key %q in genesis", genesisNetworkIDKey)
)

Expand Down

0 comments on commit d6935ad

Please sign in to comment.