package
1.2.0
Repository: https://github.com/arduino/arduino-cli.git
Documentation: pkg.go.dev

# Structs

CantCreateSketchError is returned when the sketch cannot be created.
CantOpenSketchError is returned when the sketch is not found or cannot be opened.
CantUpdateSketchError is returned when the sketch cannot be updated.
CompileFailedError is returned when the compile fails.
FailedDebugError is returned when the debug fails.
FailedDownloadError is returned when a network download fails.
FailedInstallError is returned if an install operation fails.
FailedLibraryInstallError is returned if a library install operation fails.
FailedMonitorError is returned when opening the monitor port of a board fails.
FailedUninstallError is returned if an uninstall operation fails.
FailedUploadError is returned when the upload fails.
InitFailedError is returned when the instance initialization fails.
InstanceNeedsReinitialization.
InvalidArgumentError is returned when an invalid argument is passed to the command.
InvalidFQBNError is returned when the FQBN has syntax errors.
InvalidInstanceError is returned if the instance used in the command is not valid.
InvalidLibraryError is returned when the library has syntax errors.
InvalidPlatformPropertyError is returned when a property in the platform is not valid.
InvalidProfileError is returned when the profile has errors.
InvalidURLError is returned when the URL has syntax errors.
InvalidVersionError is returned when the version has syntax errors.
LibraryDependenciesResolutionFailedError is returned when an inconsistency is found in library dependencies or a solution cannot be found.
LibraryNotFoundError is returned when a platform is not found.
MissingFQBNError is returned when the FQBN is mandatory and not specified.
MissingPlatformPropertyError is returned when a property in the platform is not found.
MissingPortAddressError is returned when the port protocol is mandatory and not specified.
MissingPortError is returned when the port is mandatory and not specified.
MissingPortProtocolError is returned when the port protocol is mandatory and not specified.
MissingProgrammerError is returned when the programmer is mandatory and not specified.
MissingSketchPathError is returned when the sketch path is mandatory and not specified.
MonitorNotFoundError is returned when the pluggable monitor is not found.
MultipleBoardsDetectedError is returned when trying to detect the FQBN of a board connected to a port fails because that are multiple possible boards detected.
MultipleLibraryInstallDetected is returned when the user request an operation on a library but multiple libraries with the same name (in library.properties) are detected.
MultiplePlatformsError is returned when trying to detect the Platform the user is trying to interact with and multiple results are found.
NoBoardsDetectedError is returned when detecting the FQBN of a board does not produce any result.
NoMonitorAvailableForProtocolError is returned when a monitor for the specified port protocol is not available.
NotFoundError is returned when a resource is not found.
PermissionDeniedError is returned when a resource cannot be accessed or modified.
PlatformAlreadyAtTheLatestVersionError is returned when a platform is up to date.
PlatformLoadingError is returned when a platform has fatal errors that prevents loading.
PlatformNotFoundError is returned when a platform is not found.
ProgrammerNotFoundError is returned when the programmer is not found.
ProgrammerRequiredForUploadError is returned when the upload can be done only using a programmer.
SignatureVerificationFailedError is returned if a signature verification fails.
TempDirCreationFailedError is returned if a temp dir could not be created.
TempFileCreationFailedError is returned if a temp file could not be created.
UnavailableError is returned when a resource is temporarily not available.
UnknownFQBNError is returned when the FQBN is not found.
UnknownProfileError is returned when the profile is not found.

# Interfaces

CommandError is an error that may be converted into a gRPC status.