Movatterモバイル変換


[0]ホーム

URL:


arduino

package
v0.35.3Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License:GPL-3.0Imports:7Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeCantCreateSketchError

type CantCreateSketchError struct {Causeerror}

CantCreateSketchError is returned when the sketch cannot be created

func (*CantCreateSketchError)Error

func (e *CantCreateSketchError) Error()string

func (*CantCreateSketchError)Unwrap

func (e *CantCreateSketchError) Unwrap()error

typeCantOpenSketchError

type CantOpenSketchError struct {Causeerror}

CantOpenSketchError is returned when the sketch is not found or cannot be opened

func (*CantOpenSketchError)Error

func (e *CantOpenSketchError) Error()string

func (*CantOpenSketchError)ToRPCStatus

func (e *CantOpenSketchError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*CantOpenSketchError)Unwrap

func (e *CantOpenSketchError) Unwrap()error

typeCantUpdateSketchError

type CantUpdateSketchError struct {Causeerror}

CantUpdateSketchError is returned when the sketch cannot be updated

func (*CantUpdateSketchError)Error

func (e *CantUpdateSketchError) Error()string

func (*CantUpdateSketchError)Unwrap

func (e *CantUpdateSketchError) Unwrap()error

typeCommandError

type CommandError interface {// ToRPCStatus convertes the error into a *status.StatusToRPCStatus() *status.Status}

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

typeCompileFailedError

type CompileFailedError struct {MessagestringCauseerror}

CompileFailedError is returned when the compile fails

func (*CompileFailedError)Error

func (e *CompileFailedError) Error()string

func (*CompileFailedError)ToRPCStatus

func (e *CompileFailedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*CompileFailedError)Unwrap

func (e *CompileFailedError) Unwrap()error

typeFailedDebugError

type FailedDebugError struct {MessagestringCauseerror}

FailedDebugError is returned when the debug fails

func (*FailedDebugError)Error

func (e *FailedDebugError) Error()string

func (*FailedDebugError)ToRPCStatus

func (e *FailedDebugError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedDebugError)Unwrap

func (e *FailedDebugError) Unwrap()error

typeFailedDownloadError

type FailedDownloadError struct {MessagestringCauseerror}

FailedDownloadError is returned when a network download fails

func (*FailedDownloadError)Error

func (e *FailedDownloadError) Error()string

func (*FailedDownloadError)ToRPCStatus

func (e *FailedDownloadError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedDownloadError)Unwrap

func (e *FailedDownloadError) Unwrap()error

typeFailedInstallError

type FailedInstallError struct {MessagestringCauseerror}

FailedInstallError is returned if an install operation fails

func (*FailedInstallError)Error

func (e *FailedInstallError) Error()string

func (*FailedInstallError)ToRPCStatus

func (e *FailedInstallError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedInstallError)Unwrap

func (e *FailedInstallError) Unwrap()error

typeFailedLibraryInstallError

type FailedLibraryInstallError struct {Causeerror}

FailedLibraryInstallError is returned if a library install operation fails

func (*FailedLibraryInstallError)Error

func (*FailedLibraryInstallError)ToRPCStatus

func (e *FailedLibraryInstallError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedLibraryInstallError)Unwrap

typeFailedMonitorError

type FailedMonitorError struct {Causeerror}

FailedMonitorError is returned when opening the monitor port of a board fails

func (*FailedMonitorError)Error

func (e *FailedMonitorError) Error()string

func (*FailedMonitorError)ToRPCStatus

func (e *FailedMonitorError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedMonitorError)Unwrap

func (e *FailedMonitorError) Unwrap()error

typeFailedUninstallError

type FailedUninstallError struct {MessagestringCauseerror}

FailedUninstallError is returned if an uninstall operation fails

func (*FailedUninstallError)Error

func (e *FailedUninstallError) Error()string

func (*FailedUninstallError)ToRPCStatus

func (e *FailedUninstallError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedUninstallError)Unwrap

func (e *FailedUninstallError) Unwrap()error

typeFailedUploadError

type FailedUploadError struct {MessagestringCauseerror}

FailedUploadError is returned when the upload fails

func (*FailedUploadError)Error

func (e *FailedUploadError) Error()string

func (*FailedUploadError)ToRPCStatus

func (e *FailedUploadError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*FailedUploadError)Unwrap

func (e *FailedUploadError) Unwrap()error

typeInitFailedError

type InitFailedError struct {Codecodes.CodeCauseerrorReasonrpc.FailedInstanceInitReason}

InitFailedError is returned when the instance initialization fails

func (*InitFailedError)Error

func (ife *InitFailedError) Error()string

func (*InitFailedError)ToRPCStatus

func (ife *InitFailedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeInvalidArgumentError

type InvalidArgumentError struct {MessagestringCauseerror}

InvalidArgumentError is returned when an invalid argument is passed to the command

func (*InvalidArgumentError)Error

func (e *InvalidArgumentError) Error()string

func (*InvalidArgumentError)ToRPCStatus

func (e *InvalidArgumentError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*InvalidArgumentError)Unwrap

func (e *InvalidArgumentError) Unwrap()error

typeInvalidFQBNError

type InvalidFQBNError struct {Causeerror}

InvalidFQBNError is returned when the FQBN has syntax errors

func (*InvalidFQBNError)Error

func (e *InvalidFQBNError) Error()string

func (*InvalidFQBNError)ToRPCStatus

func (e *InvalidFQBNError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*InvalidFQBNError)Unwrap

func (e *InvalidFQBNError) Unwrap()error

typeInvalidInstanceError

type InvalidInstanceError struct{}

InvalidInstanceError is returned if the instance used in the command is not valid.

func (*InvalidInstanceError)Error

func (e *InvalidInstanceError) Error()string

func (*InvalidInstanceError)ToRPCStatus

func (e *InvalidInstanceError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeInvalidLibraryError

type InvalidLibraryError struct {Causeerror}

InvalidLibraryError is returned when the library has syntax errors

func (*InvalidLibraryError)Error

func (e *InvalidLibraryError) Error()string

func (*InvalidLibraryError)ToRPCStatus

func (e *InvalidLibraryError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*InvalidLibraryError)Unwrap

func (e *InvalidLibraryError) Unwrap()error

typeInvalidPlatformPropertyError

type InvalidPlatformPropertyError struct {PropertystringValuestring}

InvalidPlatformPropertyError is returned when a property in the platform is not valid

func (*InvalidPlatformPropertyError)Error

func (*InvalidPlatformPropertyError)ToRPCStatus

func (e *InvalidPlatformPropertyError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeInvalidProfileError

type InvalidProfileError struct {Causeerror}

InvalidProfileError is returned when the profile has errors

func (*InvalidProfileError)Error

func (e *InvalidProfileError) Error()string

func (*InvalidProfileError)ToRPCStatus

func (e *InvalidProfileError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*InvalidProfileError)Unwrap

func (e *InvalidProfileError) Unwrap()error

typeInvalidURLError

type InvalidURLError struct {Causeerror}

InvalidURLError is returned when the URL has syntax errors

func (*InvalidURLError)Error

func (e *InvalidURLError) Error()string

func (*InvalidURLError)ToRPCStatus

func (e *InvalidURLError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*InvalidURLError)Unwrap

func (e *InvalidURLError) Unwrap()error

typeInvalidVersionError

type InvalidVersionError struct {Causeerror}

InvalidVersionError is returned when the version has syntax errors

func (*InvalidVersionError)Error

func (e *InvalidVersionError) Error()string

func (*InvalidVersionError)ToRPCStatus

func (e *InvalidVersionError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*InvalidVersionError)Unwrap

func (e *InvalidVersionError) Unwrap()error

typeLibraryDependenciesResolutionFailedError

type LibraryDependenciesResolutionFailedError struct {Causeerror}

LibraryDependenciesResolutionFailedError is returned when an inconsistency is found in library dependenciesor a solution cannot be found.

func (*LibraryDependenciesResolutionFailedError)Error

func (*LibraryDependenciesResolutionFailedError)ToRPCStatus

ToRPCStatus converts the error into a *status.Status

func (*LibraryDependenciesResolutionFailedError)Unwrap

typeLibraryNotFoundError

type LibraryNotFoundError struct {LibrarystringCauseerror}

LibraryNotFoundError is returned when a platform is not found

func (*LibraryNotFoundError)Error

func (e *LibraryNotFoundError) Error()string

func (*LibraryNotFoundError)ToRPCStatus

func (e *LibraryNotFoundError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*LibraryNotFoundError)Unwrap

func (e *LibraryNotFoundError) Unwrap()error

typeMissingFQBNError

type MissingFQBNError struct{}

MissingFQBNError is returned when the FQBN is mandatory and not specified

func (*MissingFQBNError)Error

func (e *MissingFQBNError) Error()string

func (*MissingFQBNError)ToRPCStatus

func (e *MissingFQBNError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMissingPlatformPropertyError

type MissingPlatformPropertyError struct {Propertystring}

MissingPlatformPropertyError is returned when a property in the platform is not found

func (*MissingPlatformPropertyError)Error

func (*MissingPlatformPropertyError)ToRPCStatus

func (e *MissingPlatformPropertyError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMissingPortAddressError

type MissingPortAddressError struct{}

MissingPortAddressError is returned when the port protocol is mandatory and not specified

func (*MissingPortAddressError)Error

func (*MissingPortAddressError)ToRPCStatus

func (e *MissingPortAddressError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMissingPortError

type MissingPortError struct{}

MissingPortError is returned when the port is mandatory and not specified

func (*MissingPortError)Error

func (e *MissingPortError) Error()string

func (*MissingPortError)ToRPCStatus

func (e *MissingPortError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMissingPortProtocolError

type MissingPortProtocolError struct{}

MissingPortProtocolError is returned when the port protocol is mandatory and not specified

func (*MissingPortProtocolError)Error

func (*MissingPortProtocolError)ToRPCStatus

func (e *MissingPortProtocolError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMissingProgrammerError

type MissingProgrammerError struct{}

MissingProgrammerError is returned when the programmer is mandatory and not specified

func (*MissingProgrammerError)Error

func (*MissingProgrammerError)ToRPCStatus

func (e *MissingProgrammerError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMissingSketchPathError

type MissingSketchPathError struct{}

MissingSketchPathError is returned when the sketch path is mandatory and not specified

func (*MissingSketchPathError)Error

func (*MissingSketchPathError)ToRPCStatus

func (e *MissingSketchPathError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMonitorNotFoundError

type MonitorNotFoundError struct {MonitorstringCauseerror}

MonitorNotFoundError is returned when the pluggable monitor is not found

func (*MonitorNotFoundError)Error

func (e *MonitorNotFoundError) Error()string

func (*MonitorNotFoundError)ToRPCStatus

func (e *MonitorNotFoundError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*MonitorNotFoundError)Unwrap

func (e *MonitorNotFoundError) Unwrap()error

typeMultipleBoardsDetectedError

type MultipleBoardsDetectedError struct {Port *rpc.Port}

MultipleBoardsDetectedError is returned when trying to detectthe FQBN of a board connected to a port fails because thatare multiple possible boards detected.

func (*MultipleBoardsDetectedError)Error

func (*MultipleBoardsDetectedError)ToRPCStatus

func (e *MultipleBoardsDetectedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeMultipleLibraryInstallDetected

type MultipleLibraryInstallDetected struct {LibNamestringLibsDir paths.PathListMessagestring}

MultipleLibraryInstallDetected is returned when the user request anoperation on a library but multiple libraries with the same name(in library.properties) are detected.

func (*MultipleLibraryInstallDetected)Error

func (*MultipleLibraryInstallDetected)ToRPCStatus

ToRPCStatus converts the error into a *status.Status

typeMultiplePlatformsError

type MultiplePlatformsError struct {Platforms    []stringUserPlatformstring}

MultiplePlatformsError is returned when trying to detectthe Platform the user is trying to interact with andmultiple results are found.

func (*MultiplePlatformsError)Error

func (*MultiplePlatformsError)ToRPCStatus

func (e *MultiplePlatformsError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeNoBoardsDetectedError

type NoBoardsDetectedError struct {Port *rpc.Port}

NoBoardsDetectedError is returned when detecting the FQBN of a boarddoes not produce any result.

func (*NoBoardsDetectedError)Error

func (e *NoBoardsDetectedError) Error()string

func (*NoBoardsDetectedError)ToRPCStatus

func (e *NoBoardsDetectedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

typeNoMonitorAvailableForProtocolError

type NoMonitorAvailableForProtocolError struct {Protocolstring}

NoMonitorAvailableForProtocolError is returned when a monitor for the specified port protocol is not available

func (*NoMonitorAvailableForProtocolError)Error

func (*NoMonitorAvailableForProtocolError)ToRPCStatus

ToRPCStatus converts the error into a *status.Status

typeNotFoundError

type NotFoundError struct {MessagestringCauseerror}

NotFoundError is returned when a resource is not found

func (*NotFoundError)Error

func (e *NotFoundError) Error()string

func (*NotFoundError)ToRPCStatus

func (e *NotFoundError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*NotFoundError)Unwrap

func (e *NotFoundError) Unwrap()error

typePermissionDeniedError

type PermissionDeniedError struct {MessagestringCauseerror}

PermissionDeniedError is returned when a resource cannot be accessed or modified

func (*PermissionDeniedError)Error

func (e *PermissionDeniedError) Error()string

func (*PermissionDeniedError)ToRPCStatus

func (e *PermissionDeniedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*PermissionDeniedError)Unwrap

func (e *PermissionDeniedError) Unwrap()error

typePlatformAlreadyAtTheLatestVersionError

type PlatformAlreadyAtTheLatestVersionError struct {Platformstring}

PlatformAlreadyAtTheLatestVersionError is returned when a platform is up to date

func (*PlatformAlreadyAtTheLatestVersionError)Error

func (*PlatformAlreadyAtTheLatestVersionError)ToRPCStatus

ToRPCStatus converts the error into a *status.Status

typePlatformLoadingError

type PlatformLoadingError struct {Causeerror}

PlatformLoadingError is returned when a platform has fatal errors that prevents loading

func (*PlatformLoadingError)Error

func (e *PlatformLoadingError) Error()string

func (*PlatformLoadingError)ToRPCStatus

func (e *PlatformLoadingError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*PlatformLoadingError)Unwrap

func (e *PlatformLoadingError) Unwrap()error

typePlatformNotFoundError

type PlatformNotFoundError struct {PlatformstringCauseerror}

PlatformNotFoundError is returned when a platform is not found

func (*PlatformNotFoundError)Error

func (e *PlatformNotFoundError) Error()string

func (*PlatformNotFoundError)ToRPCStatus

func (e *PlatformNotFoundError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*PlatformNotFoundError)Unwrap

func (e *PlatformNotFoundError) Unwrap()error

typeProgrammerNotFoundError

type ProgrammerNotFoundError struct {ProgrammerstringCauseerror}

ProgrammerNotFoundError is returned when the programmer is not found

func (*ProgrammerNotFoundError)Error

func (*ProgrammerNotFoundError)ToRPCStatus

func (e *ProgrammerNotFoundError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*ProgrammerNotFoundError)Unwrap

func (e *ProgrammerNotFoundError) Unwrap()error

typeProgrammerRequiredForUploadError

type ProgrammerRequiredForUploadError struct{}

ProgrammerRequiredForUploadError is returned when the upload can be done only using a programmer

func (*ProgrammerRequiredForUploadError)Error

func (*ProgrammerRequiredForUploadError)ToRPCStatus

ToRPCStatus converts the error into a *status.Status

typeSignatureVerificationFailedError

type SignatureVerificationFailedError struct {FilestringCauseerror}

SignatureVerificationFailedError is returned if a signature verification fails

func (*SignatureVerificationFailedError)Error

func (*SignatureVerificationFailedError)ToRPCStatus

ToRPCStatus converts the error into a *status.Status

func (*SignatureVerificationFailedError)Unwrap

typeTempDirCreationFailedError

type TempDirCreationFailedError struct {Causeerror}

TempDirCreationFailedError is returned if a temp dir could not be created

func (*TempDirCreationFailedError)Error

func (*TempDirCreationFailedError)ToRPCStatus

func (e *TempDirCreationFailedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*TempDirCreationFailedError)Unwrap

typeTempFileCreationFailedError

type TempFileCreationFailedError struct {Causeerror}

TempFileCreationFailedError is returned if a temp file could not be created

func (*TempFileCreationFailedError)Error

func (*TempFileCreationFailedError)ToRPCStatus

func (e *TempFileCreationFailedError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*TempFileCreationFailedError)Unwrap

typeUnavailableError

type UnavailableError struct {MessagestringCauseerror}

UnavailableError is returned when a resource is temporarily not available

func (*UnavailableError)Error

func (e *UnavailableError) Error()string

func (*UnavailableError)ToRPCStatus

func (e *UnavailableError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*UnavailableError)Unwrap

func (e *UnavailableError) Unwrap()error

typeUnknownFQBNError

type UnknownFQBNError struct {Causeerror}

UnknownFQBNError is returned when the FQBN is not found

func (*UnknownFQBNError)Error

func (e *UnknownFQBNError) Error()string

func (*UnknownFQBNError)ToRPCStatus

func (e *UnknownFQBNError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*UnknownFQBNError)Unwrap

func (e *UnknownFQBNError) Unwrap()error

typeUnknownProfileError

type UnknownProfileError struct {ProfilestringCauseerror}

UnknownProfileError is returned when the profile is not found

func (*UnknownProfileError)Error

func (e *UnknownProfileError) Error()string

func (*UnknownProfileError)ToRPCStatus

func (e *UnknownProfileError) ToRPCStatus() *status.Status

ToRPCStatus converts the error into a *status.Status

func (*UnknownProfileError)Unwrap

func (e *UnknownProfileError) Unwrap()error

Source Files

View all Source files

Directories

PathSynopsis
discovery_clientcommand
discovery_client is a command line UI client to test pluggable discoveries.
discovery_client is a command line UI client to test pluggable discoveries.
Package monitor provides a client for Pluggable Monitors.
Package monitor provides a client for Pluggable Monitors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp