errors

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIProviderNotConfiguredError

type AIProviderNotConfiguredError struct {
	Provider string
	Reason   string
}

AIProviderNotConfiguredError indica que un proveedor de IA no está configurado

func NewAIProviderNotConfiguredError

func NewAIProviderNotConfiguredError(provider, reason string) *AIProviderNotConfiguredError

NewAIProviderNotConfiguredError crea un nuevo error de proveedor no configurado

func (*AIProviderNotConfiguredError) Error

type AIProviderNotFoundError

type AIProviderNotFoundError struct {
	Provider string
}

AIProviderNotFoundError indica que un proveedor de IA no fue encontrado

func NewAIProviderNotFoundError

func NewAIProviderNotFoundError(provider string) *AIProviderNotFoundError

NewAIProviderNotFoundError crea un nuevo error de proveedor no encontrado

func (*AIProviderNotFoundError) Error

func (e *AIProviderNotFoundError) Error() string

type ConfigError

type ConfigError struct {
	Field   string
	Message string
	Err     error
}

ConfigError representa un error de configuración

func NewConfigError

func NewConfigError(field, message string, err error) *ConfigError

NewConfigError crea un nuevo error de configuración

func (*ConfigError) Error

func (e *ConfigError) Error() string

func (*ConfigError) Unwrap

func (e *ConfigError) Unwrap() error

type VCSConfigNotFoundError

type VCSConfigNotFoundError struct {
	Provider string
}

VCSConfigNotFoundError indica que la configuración de VCS no fue encontrada

func NewVCSConfigNotFoundError

func NewVCSConfigNotFoundError(provider string) *VCSConfigNotFoundError

NewVCSConfigNotFoundError crea un nuevo error de config VCS no encontrada

func (*VCSConfigNotFoundError) Error

func (e *VCSConfigNotFoundError) Error() string

type VCSProviderNotConfiguredError

type VCSProviderNotConfiguredError struct {
	Provider string
}

VCSProviderNotConfiguredError indica que un proveedor VCS no está configurado

func NewVCSProviderNotConfiguredError

func NewVCSProviderNotConfiguredError(provider string) *VCSProviderNotConfiguredError

NewVCSProviderNotConfiguredError crea un nuevo error de proveedor VCS no configurado

func (*VCSProviderNotConfiguredError) Error

type VCSProviderNotSupportedError

type VCSProviderNotSupportedError struct {
	Provider string
}

VCSProviderNotSupportedError indica que un proveedor VCS no es soportado

func NewVCSProviderNotSupportedError

func NewVCSProviderNotSupportedError(provider string) *VCSProviderNotSupportedError

NewVCSProviderNotSupportedError crea un nuevo error de proveedor no soportado

func (*VCSProviderNotSupportedError) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL