mod error#

module error#

Error types for the ACG (Adaptive Cache Governor) crate.

All fallible operations in the ACG system return Result<T>, which uses AcgError as the error type.

Types

type Result<T>#

A specialized Result type for ACG operations.

Enums

enum AcgError#

The error type for all ACG operations.

InvalidIntent(String)#

An intent validation failed.

Serialization(serde_json::Error)#

A serialization or deserialization error.

Internal(String)#

An internal error.

PluginAlreadyRegistered(String)#

A plugin with this ID is already registered.

PluginNotFound(String)#

No plugin found with the given ID.

TranslationFailed(String)#

Plugin translation failed.

IrConstructionError(String)#

IR construction failed due to invalid input.