We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d983a commit cff44e6Copy full SHA for cff44e6
commands/errors.go renamed to arduino/errors.go
@@ -13,16 +13,19 @@
13
// Arduino software without disclosing the source code of your own applications.
14
// To purchase a commercial license, send an email to license@arduino.cc.
15
16
-package commands
+package arduino
17
18
import (
19
"fmt"
20
21
+ "github.com/arduino/arduino-cli/i18n"
22
rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
23
"google.golang.org/grpc/codes"
24
"google.golang.org/grpc/status"
25
)
26
27
+var tr = i18n.Tr
28
+
29
func composeErrorMsg(msg string, cause error) string {
30
if cause == nil {
31
return msg
0 commit comments