Documentation
¶
Index ¶
- Constants
- Variables
- func FromError(catalog LocaleSpecificCatalog, err Error) string
- func FromErrorMultiLocale(err Error, locale LocaleKey) string
- func FromGeneralError(catalog LocaleSpecificCatalog, err error) (string, bool)
- func FromGeneralErrorMultiLocale(err error, locale LocaleKey) (string, bool)
- func GetSystemLocale() string
- func LocaleFromString(locale string) (localeKey, bool)
- type Catalog
- type Error
- type LocaleKey
- type LocaleSpecificCatalog
- type MessageKey
- type MultiLocaleCatalog
- type StartupErrors_BadFlag_Error
- type StartupErrors_BadSyntax_Error
- type StartupErrors_BadValueForEnvVar_Error
- type StartupErrors_BadValue_Error
- type StartupErrors_CustomToolNameConflict_Error
- type StartupErrors_DuplicateParameter_Error
- type StartupErrors_DuplicateToolName_Error
- type StartupErrors_FailedToCreateDirectory_Error
- type StartupErrors_FailedToCreateFile_Error
- type StartupErrors_FailedToCreateLogFile_Error
- type StartupErrors_FailedToCreateSubdirectory_Error
- type StartupErrors_FailedToGetExecutablePath_Error
- type StartupErrors_FailedToParseExtensionFile_Error
- type StartupErrors_FailedToReadExtensionFile_Error
- type StartupErrors_FailedToStartWatchdogProcess_Error
- type StartupErrors_GenericInitializeFailure_Error
- type StartupErrors_InvalidDisplayMode_Error
- type StartupErrors_InvalidLogLevel_Error
- type StartupErrors_InvalidMATLABSessionMode_Error
- type StartupErrors_InvalidParameterKey_Error
- type StartupErrors_InvalidParameterType_Error
- type StartupErrors_InvalidToolDefinition_Error
- type StartupErrors_InvalidToolInputSchema_Error
- type StartupErrors_InvalidToolSignature_Error
- type StartupErrors_MissingToolSignature_Error
- type StartupErrors_MissingValue_Error
- type StartupErrors_ParseFailed_Error
- type StartupErrors_TelemetryInitializationFailed_Error
- type StartupErrors_WriteError_Error
Constants ¶
const ( CLIMessages_BaseDirDescription messageKey = "CLIMessages_BaseDirDescription" CLIMessages_DisableTelemetryDescription messageKey = "CLIMessages_DisableTelemetryDescription" CLIMessages_DisplayModeDescription messageKey = "CLIMessages_DisplayModeDescription" CLIMessages_ExtensionFileDescription messageKey = "CLIMessages_ExtensionFileDescription" CLIMessages_HelpDescription messageKey = "CLIMessages_HelpDescription" CLIMessages_InitializeMATLABOnStartupDescription messageKey = "CLIMessages_InitializeMATLABOnStartupDescription" CLIMessages_InternalUseDescription messageKey = "CLIMessages_InternalUseDescription" CLIMessages_LogLevelDescription messageKey = "CLIMessages_LogLevelDescription" CLIMessages_MATLABSessionModeDescription messageKey = "CLIMessages_MATLABSessionModeDescription" CLIMessages_PreferredLocalMATLABRootDescription messageKey = "CLIMessages_PreferredLocalMATLABRootDescription" CLIMessages_PreferredMATLABStartingDirectoryDescription messageKey = "CLIMessages_PreferredMATLABStartingDirectoryDescription" CLIMessages_UseSingleMATLABSessionDescription messageKey = "CLIMessages_UseSingleMATLABSessionDescription" CLIMessages_VersionDescription messageKey = "CLIMessages_VersionDescription" StartupErrors_BadFlag messageKey = "StartupErrors_BadFlag" StartupErrors_BadSyntax messageKey = "StartupErrors_BadSyntax" StartupErrors_BadValue messageKey = "StartupErrors_BadValue" StartupErrors_BadValueForEnvVar messageKey = "StartupErrors_BadValueForEnvVar" StartupErrors_CustomToolNameConflict messageKey = "StartupErrors_CustomToolNameConflict" StartupErrors_DuplicateParameter messageKey = "StartupErrors_DuplicateParameter" StartupErrors_DuplicateToolName messageKey = "StartupErrors_DuplicateToolName" StartupErrors_FailedToCreateDirectory messageKey = "StartupErrors_FailedToCreateDirectory" StartupErrors_FailedToCreateFile messageKey = "StartupErrors_FailedToCreateFile" StartupErrors_FailedToCreateLogFile messageKey = "StartupErrors_FailedToCreateLogFile" StartupErrors_FailedToCreateSubdirectory messageKey = "StartupErrors_FailedToCreateSubdirectory" StartupErrors_FailedToGetExecutablePath messageKey = "StartupErrors_FailedToGetExecutablePath" StartupErrors_FailedToParseExtensionFile messageKey = "StartupErrors_FailedToParseExtensionFile" StartupErrors_FailedToReadExtensionFile messageKey = "StartupErrors_FailedToReadExtensionFile" StartupErrors_FailedToStartWatchdogProcess messageKey = "StartupErrors_FailedToStartWatchdogProcess" StartupErrors_GenericInitializeFailure messageKey = "StartupErrors_GenericInitializeFailure" StartupErrors_InvalidDisplayMode messageKey = "StartupErrors_InvalidDisplayMode" StartupErrors_InvalidLogLevel messageKey = "StartupErrors_InvalidLogLevel" StartupErrors_InvalidMATLABSessionMode messageKey = "StartupErrors_InvalidMATLABSessionMode" StartupErrors_InvalidParameterKey messageKey = "StartupErrors_InvalidParameterKey" StartupErrors_InvalidParameterType messageKey = "StartupErrors_InvalidParameterType" StartupErrors_InvalidToolDefinition messageKey = "StartupErrors_InvalidToolDefinition" StartupErrors_InvalidToolInputSchema messageKey = "StartupErrors_InvalidToolInputSchema" StartupErrors_InvalidToolSignature messageKey = "StartupErrors_InvalidToolSignature" StartupErrors_MissingToolSignature messageKey = "StartupErrors_MissingToolSignature" StartupErrors_MissingValue messageKey = "StartupErrors_MissingValue" StartupErrors_ParseFailed messageKey = "StartupErrors_ParseFailed" StartupErrors_TelemetryInitializationFailed messageKey = "StartupErrors_TelemetryInitializationFailed" StartupErrors_WriteError messageKey = "StartupErrors_WriteError" )
const (
Locale_en_US localeKey = "en_US"
)
Variables ¶
var AnError = &anError{} //nolint:gochecknoglobals // AnError is an error
AnError is a test helper analogous to assert.AnError but satisfying messages.Error. Use it in tests when verifying error propagation paths that require messages.Error.
Functions ¶
func FromError ¶
func FromError(catalog LocaleSpecificCatalog, err Error) string
FromError retrieves the message corresponding to the passed error from the message catalog. The holes in the message are filled from the error attributes.
func FromErrorMultiLocale ¶
func FromGeneralError ¶
func FromGeneralError(catalog LocaleSpecificCatalog, err error) (string, bool)
func GetSystemLocale ¶ added in v0.7.0
func GetSystemLocale() string
GetSystemLocale automatically detects the system locale and returns as a string to support locales to be looked to support 1p use. If no locale can be detected it will return "en_US".
func LocaleFromString ¶
Types ¶
type Catalog ¶
type Catalog struct {
// contains filtered or unexported fields
}
Catalog provides access to the messages for a specific locale.
func NewCatalog ¶
NewCatalog creates a Catalog corresponding to a specific locale.
func (*Catalog) Get ¶
func (c *Catalog) Get(key MessageKey) string
Get returns the message corresponding to the provided key.
type LocaleKey ¶
type LocaleKey interface {
// contains filtered or unexported methods
}
LocaleKey is a specific type to signify message catalog locales.
type LocaleSpecificCatalog ¶
type LocaleSpecificCatalog interface {
Get(MessageKey) string
}
type MessageKey ¶
type MessageKey interface {
// contains filtered or unexported methods
}
MessageKey is a specific type to signify message catalog keys.
type MultiLocaleCatalog ¶
type MultiLocaleCatalog struct{}
MultiLocaleCatalog provides access to messages across all locales.
func NewMultiLocaleCatalog ¶
func NewMultiLocaleCatalog() *MultiLocaleCatalog
NewMultiLocaleCatalog creates a new multi-locale catalog.
func (*MultiLocaleCatalog) Get ¶
func (c *MultiLocaleCatalog) Get(key MessageKey, locale LocaleKey) string
Get returns the message corresponding to the provided key and locale.
type StartupErrors_BadFlag_Error ¶
StartupErrors_BadFlag_Error defines an error corresponding to the "StartupErrors_BadFlag" message catalog message
func New_StartupErrors_BadFlag_Error ¶
func New_StartupErrors_BadFlag_Error( attr0 string, attr1 string, attr2 string, ) *StartupErrors_BadFlag_Error
New_StartupErrors_BadFlag_Error makes a new StartupErrors_BadFlag_Error error.
func (*StartupErrors_BadFlag_Error) Error ¶
func (e *StartupErrors_BadFlag_Error) Error() string
Error makes StartupErrors_BadFlag_Error satisfy the error interface.
type StartupErrors_BadSyntax_Error ¶
StartupErrors_BadSyntax_Error defines an error corresponding to the "StartupErrors_BadSyntax" message catalog message
func New_StartupErrors_BadSyntax_Error ¶
func New_StartupErrors_BadSyntax_Error( attr0 string, attr1 string, attr2 string, ) *StartupErrors_BadSyntax_Error
New_StartupErrors_BadSyntax_Error makes a new StartupErrors_BadSyntax_Error error.
func (*StartupErrors_BadSyntax_Error) Error ¶
func (e *StartupErrors_BadSyntax_Error) Error() string
Error makes StartupErrors_BadSyntax_Error satisfy the error interface.
type StartupErrors_BadValueForEnvVar_Error ¶ added in v0.5.1
StartupErrors_BadValueForEnvVar_Error defines an error corresponding to the "StartupErrors_BadValueForEnvVar" message catalog message
func New_StartupErrors_BadValueForEnvVar_Error ¶ added in v0.5.1
func New_StartupErrors_BadValueForEnvVar_Error( attr0 string, attr1 string, ) *StartupErrors_BadValueForEnvVar_Error
New_StartupErrors_BadValueForEnvVar_Error makes a new StartupErrors_BadValueForEnvVar_Error error.
func (*StartupErrors_BadValueForEnvVar_Error) Error ¶ added in v0.5.1
func (e *StartupErrors_BadValueForEnvVar_Error) Error() string
Error makes StartupErrors_BadValueForEnvVar_Error satisfy the error interface.
type StartupErrors_BadValue_Error ¶
StartupErrors_BadValue_Error defines an error corresponding to the "StartupErrors_BadValue" message catalog message
func New_StartupErrors_BadValue_Error ¶
func New_StartupErrors_BadValue_Error( attr0 string, attr1 string, ) *StartupErrors_BadValue_Error
New_StartupErrors_BadValue_Error makes a new StartupErrors_BadValue_Error error.
func (*StartupErrors_BadValue_Error) Error ¶
func (e *StartupErrors_BadValue_Error) Error() string
Error makes StartupErrors_BadValue_Error satisfy the error interface.
type StartupErrors_CustomToolNameConflict_Error ¶ added in v0.8.0
StartupErrors_CustomToolNameConflict_Error defines an error corresponding to the "StartupErrors_CustomToolNameConflict" message catalog message
func New_StartupErrors_CustomToolNameConflict_Error ¶ added in v0.8.0
func New_StartupErrors_CustomToolNameConflict_Error( attr0 string, attr1 string, ) *StartupErrors_CustomToolNameConflict_Error
New_StartupErrors_CustomToolNameConflict_Error makes a new StartupErrors_CustomToolNameConflict_Error error.
func (*StartupErrors_CustomToolNameConflict_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_CustomToolNameConflict_Error) Error() string
Error makes StartupErrors_CustomToolNameConflict_Error satisfy the error interface.
type StartupErrors_DuplicateParameter_Error ¶ added in v0.5.1
StartupErrors_DuplicateParameter_Error defines an error corresponding to the "StartupErrors_DuplicateParameter" message catalog message
func New_StartupErrors_DuplicateParameter_Error ¶ added in v0.5.1
func New_StartupErrors_DuplicateParameter_Error( attr0 string, attr1 string, attr2 string, ) *StartupErrors_DuplicateParameter_Error
New_StartupErrors_DuplicateParameter_Error makes a new StartupErrors_DuplicateParameter_Error error.
func (*StartupErrors_DuplicateParameter_Error) Error ¶ added in v0.5.1
func (e *StartupErrors_DuplicateParameter_Error) Error() string
Error makes StartupErrors_DuplicateParameter_Error satisfy the error interface.
type StartupErrors_DuplicateToolName_Error ¶ added in v0.8.0
StartupErrors_DuplicateToolName_Error defines an error corresponding to the "StartupErrors_DuplicateToolName" message catalog message
func New_StartupErrors_DuplicateToolName_Error ¶ added in v0.8.0
func New_StartupErrors_DuplicateToolName_Error( attr0 string, attr1 string, ) *StartupErrors_DuplicateToolName_Error
New_StartupErrors_DuplicateToolName_Error makes a new StartupErrors_DuplicateToolName_Error error.
func (*StartupErrors_DuplicateToolName_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_DuplicateToolName_Error) Error() string
Error makes StartupErrors_DuplicateToolName_Error satisfy the error interface.
type StartupErrors_FailedToCreateDirectory_Error ¶ added in v0.4.1
type StartupErrors_FailedToCreateDirectory_Error struct {
Attr0 string
}
StartupErrors_FailedToCreateDirectory_Error defines an error corresponding to the "StartupErrors_FailedToCreateDirectory" message catalog message
func New_StartupErrors_FailedToCreateDirectory_Error ¶ added in v0.4.1
func New_StartupErrors_FailedToCreateDirectory_Error( attr0 string, ) *StartupErrors_FailedToCreateDirectory_Error
New_StartupErrors_FailedToCreateDirectory_Error makes a new StartupErrors_FailedToCreateDirectory_Error error.
func (*StartupErrors_FailedToCreateDirectory_Error) Error ¶ added in v0.4.1
func (e *StartupErrors_FailedToCreateDirectory_Error) Error() string
Error makes StartupErrors_FailedToCreateDirectory_Error satisfy the error interface.
type StartupErrors_FailedToCreateFile_Error ¶ added in v0.4.1
type StartupErrors_FailedToCreateFile_Error struct {
Attr0 string
}
StartupErrors_FailedToCreateFile_Error defines an error corresponding to the "StartupErrors_FailedToCreateFile" message catalog message
func New_StartupErrors_FailedToCreateFile_Error ¶ added in v0.4.1
func New_StartupErrors_FailedToCreateFile_Error( attr0 string, ) *StartupErrors_FailedToCreateFile_Error
New_StartupErrors_FailedToCreateFile_Error makes a new StartupErrors_FailedToCreateFile_Error error.
func (*StartupErrors_FailedToCreateFile_Error) Error ¶ added in v0.4.1
func (e *StartupErrors_FailedToCreateFile_Error) Error() string
Error makes StartupErrors_FailedToCreateFile_Error satisfy the error interface.
type StartupErrors_FailedToCreateLogFile_Error ¶ added in v0.4.1
type StartupErrors_FailedToCreateLogFile_Error struct {
Attr0 string
}
StartupErrors_FailedToCreateLogFile_Error defines an error corresponding to the "StartupErrors_FailedToCreateLogFile" message catalog message
func New_StartupErrors_FailedToCreateLogFile_Error ¶ added in v0.4.1
func New_StartupErrors_FailedToCreateLogFile_Error( attr0 string, ) *StartupErrors_FailedToCreateLogFile_Error
New_StartupErrors_FailedToCreateLogFile_Error makes a new StartupErrors_FailedToCreateLogFile_Error error.
func (*StartupErrors_FailedToCreateLogFile_Error) Error ¶ added in v0.4.1
func (e *StartupErrors_FailedToCreateLogFile_Error) Error() string
Error makes StartupErrors_FailedToCreateLogFile_Error satisfy the error interface.
type StartupErrors_FailedToCreateSubdirectory_Error ¶ added in v0.4.1
type StartupErrors_FailedToCreateSubdirectory_Error struct {
Attr0 string
}
StartupErrors_FailedToCreateSubdirectory_Error defines an error corresponding to the "StartupErrors_FailedToCreateSubdirectory" message catalog message
func New_StartupErrors_FailedToCreateSubdirectory_Error ¶ added in v0.4.1
func New_StartupErrors_FailedToCreateSubdirectory_Error( attr0 string, ) *StartupErrors_FailedToCreateSubdirectory_Error
New_StartupErrors_FailedToCreateSubdirectory_Error makes a new StartupErrors_FailedToCreateSubdirectory_Error error.
func (*StartupErrors_FailedToCreateSubdirectory_Error) Error ¶ added in v0.4.1
func (e *StartupErrors_FailedToCreateSubdirectory_Error) Error() string
Error makes StartupErrors_FailedToCreateSubdirectory_Error satisfy the error interface.
type StartupErrors_FailedToGetExecutablePath_Error ¶ added in v0.4.1
type StartupErrors_FailedToGetExecutablePath_Error struct {
}
StartupErrors_FailedToGetExecutablePath_Error defines an error corresponding to the "StartupErrors_FailedToGetExecutablePath" message catalog message
func New_StartupErrors_FailedToGetExecutablePath_Error ¶ added in v0.4.1
func New_StartupErrors_FailedToGetExecutablePath_Error() *StartupErrors_FailedToGetExecutablePath_Error
New_StartupErrors_FailedToGetExecutablePath_Error makes a new StartupErrors_FailedToGetExecutablePath_Error error.
func (*StartupErrors_FailedToGetExecutablePath_Error) Error ¶ added in v0.4.1
func (e *StartupErrors_FailedToGetExecutablePath_Error) Error() string
Error makes StartupErrors_FailedToGetExecutablePath_Error satisfy the error interface.
type StartupErrors_FailedToParseExtensionFile_Error ¶ added in v0.8.0
type StartupErrors_FailedToParseExtensionFile_Error struct {
Attr0 string
}
StartupErrors_FailedToParseExtensionFile_Error defines an error corresponding to the "StartupErrors_FailedToParseExtensionFile" message catalog message
func New_StartupErrors_FailedToParseExtensionFile_Error ¶ added in v0.8.0
func New_StartupErrors_FailedToParseExtensionFile_Error( attr0 string, ) *StartupErrors_FailedToParseExtensionFile_Error
New_StartupErrors_FailedToParseExtensionFile_Error makes a new StartupErrors_FailedToParseExtensionFile_Error error.
func (*StartupErrors_FailedToParseExtensionFile_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_FailedToParseExtensionFile_Error) Error() string
Error makes StartupErrors_FailedToParseExtensionFile_Error satisfy the error interface.
type StartupErrors_FailedToReadExtensionFile_Error ¶ added in v0.8.0
type StartupErrors_FailedToReadExtensionFile_Error struct {
Attr0 string
}
StartupErrors_FailedToReadExtensionFile_Error defines an error corresponding to the "StartupErrors_FailedToReadExtensionFile" message catalog message
func New_StartupErrors_FailedToReadExtensionFile_Error ¶ added in v0.8.0
func New_StartupErrors_FailedToReadExtensionFile_Error( attr0 string, ) *StartupErrors_FailedToReadExtensionFile_Error
New_StartupErrors_FailedToReadExtensionFile_Error makes a new StartupErrors_FailedToReadExtensionFile_Error error.
func (*StartupErrors_FailedToReadExtensionFile_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_FailedToReadExtensionFile_Error) Error() string
Error makes StartupErrors_FailedToReadExtensionFile_Error satisfy the error interface.
type StartupErrors_FailedToStartWatchdogProcess_Error ¶ added in v0.4.1
type StartupErrors_FailedToStartWatchdogProcess_Error struct {
}
StartupErrors_FailedToStartWatchdogProcess_Error defines an error corresponding to the "StartupErrors_FailedToStartWatchdogProcess" message catalog message
func New_StartupErrors_FailedToStartWatchdogProcess_Error ¶ added in v0.4.1
func New_StartupErrors_FailedToStartWatchdogProcess_Error() *StartupErrors_FailedToStartWatchdogProcess_Error
New_StartupErrors_FailedToStartWatchdogProcess_Error makes a new StartupErrors_FailedToStartWatchdogProcess_Error error.
func (*StartupErrors_FailedToStartWatchdogProcess_Error) Error ¶ added in v0.4.1
func (e *StartupErrors_FailedToStartWatchdogProcess_Error) Error() string
Error makes StartupErrors_FailedToStartWatchdogProcess_Error satisfy the error interface.
type StartupErrors_GenericInitializeFailure_Error ¶ added in v0.7.0
type StartupErrors_GenericInitializeFailure_Error struct {
}
StartupErrors_GenericInitializeFailure_Error defines an error corresponding to the "StartupErrors_GenericInitializeFailure" message catalog message
func New_StartupErrors_GenericInitializeFailure_Error ¶ added in v0.7.0
func New_StartupErrors_GenericInitializeFailure_Error() *StartupErrors_GenericInitializeFailure_Error
New_StartupErrors_GenericInitializeFailure_Error makes a new StartupErrors_GenericInitializeFailure_Error error.
func (*StartupErrors_GenericInitializeFailure_Error) Error ¶ added in v0.7.0
func (e *StartupErrors_GenericInitializeFailure_Error) Error() string
Error makes StartupErrors_GenericInitializeFailure_Error satisfy the error interface.
type StartupErrors_InvalidDisplayMode_Error ¶ added in v0.5.0
type StartupErrors_InvalidDisplayMode_Error struct {
Attr0 string
}
StartupErrors_InvalidDisplayMode_Error defines an error corresponding to the "StartupErrors_InvalidDisplayMode" message catalog message
func New_StartupErrors_InvalidDisplayMode_Error ¶ added in v0.5.0
func New_StartupErrors_InvalidDisplayMode_Error( attr0 string, ) *StartupErrors_InvalidDisplayMode_Error
New_StartupErrors_InvalidDisplayMode_Error makes a new StartupErrors_InvalidDisplayMode_Error error.
func (*StartupErrors_InvalidDisplayMode_Error) Error ¶ added in v0.5.0
func (e *StartupErrors_InvalidDisplayMode_Error) Error() string
Error makes StartupErrors_InvalidDisplayMode_Error satisfy the error interface.
type StartupErrors_InvalidLogLevel_Error ¶
type StartupErrors_InvalidLogLevel_Error struct {
Attr0 string
}
StartupErrors_InvalidLogLevel_Error defines an error corresponding to the "StartupErrors_InvalidLogLevel" message catalog message
func New_StartupErrors_InvalidLogLevel_Error ¶
func New_StartupErrors_InvalidLogLevel_Error( attr0 string, ) *StartupErrors_InvalidLogLevel_Error
New_StartupErrors_InvalidLogLevel_Error makes a new StartupErrors_InvalidLogLevel_Error error.
func (*StartupErrors_InvalidLogLevel_Error) Error ¶
func (e *StartupErrors_InvalidLogLevel_Error) Error() string
Error makes StartupErrors_InvalidLogLevel_Error satisfy the error interface.
type StartupErrors_InvalidMATLABSessionMode_Error ¶ added in v0.8.0
type StartupErrors_InvalidMATLABSessionMode_Error struct {
Attr0 string
}
StartupErrors_InvalidMATLABSessionMode_Error defines an error corresponding to the "StartupErrors_InvalidMATLABSessionMode" message catalog message
func New_StartupErrors_InvalidMATLABSessionMode_Error ¶ added in v0.8.0
func New_StartupErrors_InvalidMATLABSessionMode_Error( attr0 string, ) *StartupErrors_InvalidMATLABSessionMode_Error
New_StartupErrors_InvalidMATLABSessionMode_Error makes a new StartupErrors_InvalidMATLABSessionMode_Error error.
func (*StartupErrors_InvalidMATLABSessionMode_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_InvalidMATLABSessionMode_Error) Error() string
Error makes StartupErrors_InvalidMATLABSessionMode_Error satisfy the error interface.
type StartupErrors_InvalidParameterKey_Error ¶ added in v0.5.1
type StartupErrors_InvalidParameterKey_Error struct {
Attr0 string
}
StartupErrors_InvalidParameterKey_Error defines an error corresponding to the "StartupErrors_InvalidParameterKey" message catalog message
func New_StartupErrors_InvalidParameterKey_Error ¶ added in v0.5.1
func New_StartupErrors_InvalidParameterKey_Error( attr0 string, ) *StartupErrors_InvalidParameterKey_Error
New_StartupErrors_InvalidParameterKey_Error makes a new StartupErrors_InvalidParameterKey_Error error.
func (*StartupErrors_InvalidParameterKey_Error) Error ¶ added in v0.5.1
func (e *StartupErrors_InvalidParameterKey_Error) Error() string
Error makes StartupErrors_InvalidParameterKey_Error satisfy the error interface.
type StartupErrors_InvalidParameterType_Error ¶ added in v0.5.1
StartupErrors_InvalidParameterType_Error defines an error corresponding to the "StartupErrors_InvalidParameterType" message catalog message
func New_StartupErrors_InvalidParameterType_Error ¶ added in v0.5.1
func New_StartupErrors_InvalidParameterType_Error( attr0 string, attr1 string, ) *StartupErrors_InvalidParameterType_Error
New_StartupErrors_InvalidParameterType_Error makes a new StartupErrors_InvalidParameterType_Error error.
func (*StartupErrors_InvalidParameterType_Error) Error ¶ added in v0.5.1
func (e *StartupErrors_InvalidParameterType_Error) Error() string
Error makes StartupErrors_InvalidParameterType_Error satisfy the error interface.
type StartupErrors_InvalidToolDefinition_Error ¶ added in v0.8.0
type StartupErrors_InvalidToolDefinition_Error struct {
Attr0 string
}
StartupErrors_InvalidToolDefinition_Error defines an error corresponding to the "StartupErrors_InvalidToolDefinition" message catalog message
func New_StartupErrors_InvalidToolDefinition_Error ¶ added in v0.8.0
func New_StartupErrors_InvalidToolDefinition_Error( attr0 string, ) *StartupErrors_InvalidToolDefinition_Error
New_StartupErrors_InvalidToolDefinition_Error makes a new StartupErrors_InvalidToolDefinition_Error error.
func (*StartupErrors_InvalidToolDefinition_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_InvalidToolDefinition_Error) Error() string
Error makes StartupErrors_InvalidToolDefinition_Error satisfy the error interface.
type StartupErrors_InvalidToolInputSchema_Error ¶ added in v0.8.0
StartupErrors_InvalidToolInputSchema_Error defines an error corresponding to the "StartupErrors_InvalidToolInputSchema" message catalog message
func New_StartupErrors_InvalidToolInputSchema_Error ¶ added in v0.8.0
func New_StartupErrors_InvalidToolInputSchema_Error( attr0 string, attr1 string, ) *StartupErrors_InvalidToolInputSchema_Error
New_StartupErrors_InvalidToolInputSchema_Error makes a new StartupErrors_InvalidToolInputSchema_Error error.
func (*StartupErrors_InvalidToolInputSchema_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_InvalidToolInputSchema_Error) Error() string
Error makes StartupErrors_InvalidToolInputSchema_Error satisfy the error interface.
type StartupErrors_InvalidToolSignature_Error ¶ added in v0.8.0
StartupErrors_InvalidToolSignature_Error defines an error corresponding to the "StartupErrors_InvalidToolSignature" message catalog message
func New_StartupErrors_InvalidToolSignature_Error ¶ added in v0.8.0
func New_StartupErrors_InvalidToolSignature_Error( attr0 string, attr1 string, ) *StartupErrors_InvalidToolSignature_Error
New_StartupErrors_InvalidToolSignature_Error makes a new StartupErrors_InvalidToolSignature_Error error.
func (*StartupErrors_InvalidToolSignature_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_InvalidToolSignature_Error) Error() string
Error makes StartupErrors_InvalidToolSignature_Error satisfy the error interface.
type StartupErrors_MissingToolSignature_Error ¶ added in v0.8.0
StartupErrors_MissingToolSignature_Error defines an error corresponding to the "StartupErrors_MissingToolSignature" message catalog message
func New_StartupErrors_MissingToolSignature_Error ¶ added in v0.8.0
func New_StartupErrors_MissingToolSignature_Error( attr0 string, attr1 string, ) *StartupErrors_MissingToolSignature_Error
New_StartupErrors_MissingToolSignature_Error makes a new StartupErrors_MissingToolSignature_Error error.
func (*StartupErrors_MissingToolSignature_Error) Error ¶ added in v0.8.0
func (e *StartupErrors_MissingToolSignature_Error) Error() string
Error makes StartupErrors_MissingToolSignature_Error satisfy the error interface.
type StartupErrors_MissingValue_Error ¶
type StartupErrors_MissingValue_Error struct {
Attr0 string
}
StartupErrors_MissingValue_Error defines an error corresponding to the "StartupErrors_MissingValue" message catalog message
func New_StartupErrors_MissingValue_Error ¶
func New_StartupErrors_MissingValue_Error( attr0 string, ) *StartupErrors_MissingValue_Error
New_StartupErrors_MissingValue_Error makes a new StartupErrors_MissingValue_Error error.
func (*StartupErrors_MissingValue_Error) Error ¶
func (e *StartupErrors_MissingValue_Error) Error() string
Error makes StartupErrors_MissingValue_Error satisfy the error interface.
type StartupErrors_ParseFailed_Error ¶
StartupErrors_ParseFailed_Error defines an error corresponding to the "StartupErrors_ParseFailed" message catalog message
func New_StartupErrors_ParseFailed_Error ¶
func New_StartupErrors_ParseFailed_Error( attr0 string, attr1 string, ) *StartupErrors_ParseFailed_Error
New_StartupErrors_ParseFailed_Error makes a new StartupErrors_ParseFailed_Error error.
func (*StartupErrors_ParseFailed_Error) Error ¶
func (e *StartupErrors_ParseFailed_Error) Error() string
Error makes StartupErrors_ParseFailed_Error satisfy the error interface.
type StartupErrors_TelemetryInitializationFailed_Error ¶ added in v0.7.0
type StartupErrors_TelemetryInitializationFailed_Error struct {
}
StartupErrors_TelemetryInitializationFailed_Error defines an error corresponding to the "StartupErrors_TelemetryInitializationFailed" message catalog message
func New_StartupErrors_TelemetryInitializationFailed_Error ¶ added in v0.7.0
func New_StartupErrors_TelemetryInitializationFailed_Error() *StartupErrors_TelemetryInitializationFailed_Error
New_StartupErrors_TelemetryInitializationFailed_Error makes a new StartupErrors_TelemetryInitializationFailed_Error error.
func (*StartupErrors_TelemetryInitializationFailed_Error) Error ¶ added in v0.7.0
func (e *StartupErrors_TelemetryInitializationFailed_Error) Error() string
Error makes StartupErrors_TelemetryInitializationFailed_Error satisfy the error interface.
type StartupErrors_WriteError_Error ¶ added in v0.7.0
StartupErrors_WriteError_Error defines an error corresponding to the "StartupErrors_WriteError" message catalog message
func New_StartupErrors_WriteError_Error ¶ added in v0.7.0
func New_StartupErrors_WriteError_Error( attr0 string, attr1 string, ) *StartupErrors_WriteError_Error
New_StartupErrors_WriteError_Error makes a new StartupErrors_WriteError_Error error.
func (*StartupErrors_WriteError_Error) Error ¶ added in v0.7.0
func (e *StartupErrors_WriteError_Error) Error() string
Error makes StartupErrors_WriteError_Error satisfy the error interface.