Skip to content

Commit 225c5bf

Browse files
add new exit codes
1 parent 9bc2afc commit 225c5bf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

internal/cli/feedback/errorcodes.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,13 @@ const (
4242

4343
// ErrBadArgument is returned when the arguments are not valid (7)
4444
ErrBadArgument
45+
46+
// ErrSketchError is return when the occurs some error in the sketch package (8)
47+
ErrSketchError
48+
49+
// ErrCompilation is returned when the compiler throw some errors (9)
50+
ErrCompilation
51+
52+
// ErrBoardUpload is returned when the upload to board fails (10)
53+
ErrBoardUpload
4554
)

0 commit comments

Comments
 (0)