providererror

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package providererror is a deprecated compatibility wrapper around github.com/normahq/go-adk-acpagent/providererror.

New code should import github.com/normahq/go-adk-acpagent/providererror directly.

Index

Constants

View Source
const (
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	WireKey = upstream.WireKey
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	ADKMetadataKey = upstream.ADKMetadataKey
)
View Source
const (
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindQuotaExceeded = upstream.KindQuotaExceeded
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindAuthenticationRequired = upstream.KindAuthenticationRequired
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindPaymentRequired = upstream.KindPaymentRequired
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindRateLimited = upstream.KindRateLimited
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindUnavailable = upstream.KindUnavailable
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindInvalidRequest = upstream.KindInvalidRequest
	// Deprecated: use github.com/normahq/go-adk-acpagent/providererror.
	KindUnknown = upstream.KindUnknown
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind deprecated

type Kind = upstream.Kind

Deprecated: use github.com/normahq/go-adk-acpagent/providererror.

type ProviderError deprecated

type ProviderError = upstream.ProviderError

Deprecated: use github.com/normahq/go-adk-acpagent/providererror.

func FromADKMetadata deprecated

func FromADKMetadata(meta map[string]any) (*ProviderError, bool)

FromADKMetadata extracts a provider error already mapped to ADK metadata.

Deprecated: use github.com/normahq/go-adk-acpagent/providererror.FromADKMetadata.

func FromMetadata deprecated

func FromMetadata(meta map[string]any) (*ProviderError, bool)

FromMetadata extracts provider_error from ACP metadata.

Deprecated: use github.com/normahq/go-adk-acpagent/providererror.FromMetadata.

func FromWireData deprecated

func FromWireData(data any) (*ProviderError, bool)

FromWireData extracts provider_error from JSON-RPC error data or ACP _meta.

Deprecated: use github.com/normahq/go-adk-acpagent/providererror.FromWireData.

func FromWireValue deprecated

func FromWireValue(value any) (*ProviderError, bool)

FromWireValue parses the provider_error object itself.

Deprecated: use github.com/normahq/go-adk-acpagent/providererror.FromWireValue.

Jump to

Keyboard shortcuts

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