errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 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 AccountNotFoundError

type AccountNotFoundError struct {
	AccountName string
}

AccountNotFoundError represents an account not found error

func (*AccountNotFoundError) Error

func (e *AccountNotFoundError) Error() string

type AuthError

type AuthError struct {
	Type    string
	Message string
	Err     error
}

AuthError represents an authentication error

func NewAuthError

func NewAuthError(authType, message string, err error) *AuthError

NewAuthError creates a new authentication error

func (*AuthError) Error

func (e *AuthError) Error() string

func (*AuthError) Unwrap

func (e *AuthError) Unwrap() error

type ConfigurationError

type ConfigurationError struct {
	Field   string
	Message string
}

ConfigurationError represents a configuration error

func (*ConfigurationError) Error

func (e *ConfigurationError) Error() string

type InvalidAPIKeyError

type InvalidAPIKeyError struct {
	Reason string
}

InvalidAPIKeyError represents an invalid API key format error

func (*InvalidAPIKeyError) Error

func (e *InvalidAPIKeyError) Error() string

type NoCurrentAccountError

type NoCurrentAccountError struct{}

NoCurrentAccountError represents no current account error

func (*NoCurrentAccountError) Error

func (e *NoCurrentAccountError) Error() string

type NoOrganizationSelectedError

type NoOrganizationSelectedError struct {
	AccountName string
}

NoOrganizationSelectedError represents no organization selected error

func (*NoOrganizationSelectedError) Error

type OrganizationNotFoundError

type OrganizationNotFoundError struct {
	Identifier  string
	Suggestions []string
}

OrganizationNotFoundError represents an organization not found error

func (*OrganizationNotFoundError) Error

func (e *OrganizationNotFoundError) Error() string

type TokenExpiredError

type TokenExpiredError struct {
	AccountName string
	ExpiresAt   string
}

TokenExpiredError represents an expired token error

func (*TokenExpiredError) Error

func (e *TokenExpiredError) Error() string

Jump to

Keyboard shortcuts

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