Skip to content
GitHub

Error Codes

Date: 2026-05-31 Total registered codes: 533 Total domains: 65 Total packages contributing codes: 36

This is the authoritative registry of all LEX_ERR_* error codes in the Lexigram Framework monorepo. Every exception class carrying a _code attribute is listed here. Generated by scanning all *.py source files (excluding tests and examples) for _code assignments matching LEX_ERR_<DOMAIN>_<NNN>.


Domain TagCountGapsPackage(s)
ADMIN1lexigram-contracts
AGT11lexigram-ai-agents, lexigram-contracts
AI5lexigram-ai, lexigram-contracts
AIWORK3lexigram-ai-workers
APP3lexigram
AUDIT4lexigram-audit
AUTH28lexigram-auth, lexigram-contracts
CACHE15lexigram-cache, lexigram-contracts
CFG5lexigram, lexigram-contracts
CLI3lexigram-cli
CONC8lexigram
CORE3003, 004lexigram, lexigram-contracts
DB11lexigram-contracts
DI11lexigram, lexigram-contracts
DOM9lexigram, lexigram-contracts
EVAL1lexigram-contracts
EVT23lexigram-contracts, lexigram-events
FEAT4lexigram-contracts, lexigram-features
FEED3lexigram-ai-feedback
GOV3lexigram-contracts
GQL15lexigram-graphql
GRAPH12lexigram-graph
GUARD3lexigram-contracts
HTTP7lexigram-http
IDEM6lexigram-contracts, lexigram-resilience
IDX1lexigram-contracts
INFRA11lexigram-contracts
LLM26lexigram-ai-llm, lexigram-contracts
LOAD1lexigram-contracts
LOCK2lexigram-contracts
MAP4lexigram, lexigram-contracts
MCP8lexigram-contracts
MEM8004, 007lexigram-ai-memory, lexigram-contracts
MOD7lexigram, lexigram-contracts
MONITOR8lexigram-monitor
MW10lexigram, lexigram-contracts
NOSQL6lexigram-nosql
NOTIF14lexigram-contracts, lexigram-notification
OBS4lexigram-ai-observability
PIPE2lexigram-contracts
PROV1lexigram-contracts
QE1lexigram-contracts
QUEUE7lexigram-contracts, lexigram-queue
RAG14007, 008, 009lexigram-ai-rag, lexigram-contracts
REG3lexigram-contracts
RES11lexigram-contracts, lexigram-resilience
RESULT1001lexigram-contracts
RET1lexigram-contracts
RUN1lexigram-contracts
SEARCH10lexigram-search
SEC12lexigram, lexigram-auth, lexigram-contracts
SERIAL4lexigram, lexigram-contracts
SES12lexigram-ai-session, lexigram-contracts
SKILL8lexigram-ai-skills, lexigram-contracts
SQL37lexigram-sql
STORE8lexigram-storage
TASK11lexigram-contracts, lexigram-tasks
TENANT8lexigram-contracts
TEST12lexigram-testing
UI1lexigram-ui
VAL4lexigram, lexigram-contracts
VEC15lexigram-contracts, lexigram-vector
WEB14lexigram-contracts, lexigram-web
WEBHOOK6lexigram-contracts, lexigram-webhook
WF22lexigram-contracts, lexigram-workflow

CodeClassDescriptionFileInherits From
LEX_ERR_ADMIN_001AdminErrorBase exception for all admin-domain errors. Extended by leaf exceptions in lexigram-admin.lexigram-contracts/src/lexigram/contracts/admin/errors.pyLexigramError
LEX_ERR_AGT_001AgentErrorBase exception for all agent errors.lexigram-contracts/src/lexigram/contracts/ai/agents.pyLexigramError
LEX_ERR_AGT_002ToolErrorBase exception for tool errors.lexigram-contracts/src/lexigram/contracts/ai/agents.pyAgentError
LEX_ERR_AGT_003StrategyErrorReasoning strategy failed. Raised when the agent’s strategy encounters an error during reasoning …lexigram-contracts/src/lexigram/contracts/ai/agents.pyAgentError
LEX_ERR_AI_001AIErrorBase exception for all AI-domain errors. This is the catch-all for AI operations that fail in exp…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyDomainError
LEX_ERR_AI_002ExtractionErrorBase for structured extraction errors. Used in StructuredExtractorProtocol.extract() return t…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_AI_003MetricsCollectionErrorError raised during metrics collection.lexigram-contracts/src/lexigram/contracts/observability/ai.pyLexigramError
LEX_ERR_AI_004TracingErrorError raised during tracing operations.lexigram-contracts/src/lexigram/contracts/observability/ai.pyLexigramError
LEX_ERR_AUTH_001AuthErrorBase exception for all auth-domain errors. This is the catch-all for authentication and authoriza…lexigram-contracts/src/lexigram/contracts/auth/exceptions.pyDomainError
LEX_ERR_AUTH_002TokenErrorBase class for expected, recoverable token domain failures. All subtypes indicate situations the …lexigram-contracts/src/lexigram/contracts/auth/exceptions.pyDomainError
LEX_ERR_AUTH_003VerificationErrorBase class for expected, recoverable account-verification failures. All subtypes signal situation…lexigram-contracts/src/lexigram/contracts/auth/exceptions.pyDomainError
LEX_ERR_CACHE_001CacheErrorBase exception for all cache-domain errors. This is an expected, recoverable error that cache cli…lexigram-contracts/src/lexigram/contracts/infra/cache/exceptions.pyDomainError
LEX_ERR_CACHE_002CacheKeyNotFoundErrorRaised when cache key is not found.lexigram-contracts/src/lexigram/contracts/infra/cache/exceptions.pyCacheError
LEX_ERR_CACHE_003CacheWriteErrorRaised when cache write fails.lexigram-contracts/src/lexigram/contracts/infra/cache/exceptions.pyCacheError
LEX_ERR_CFG_001ConfigurationErrorDeveloper configuration or runtime misconfiguration errors. Supports optional structured validati…lexigram-contracts/src/lexigram/contracts/exceptions/config.pyLexigramError
LEX_ERR_CORE_001LexigramErrorRoot exception for the entire Lexigram ecosystem. All Lexigram exceptions inherit from this class…lexigram-contracts/src/lexigram/contracts/exceptions/base.pyException
LEX_ERR_DB_001DatabaseErrorDatabase-related error (infrastructure-level).lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyInfrastructureError
LEX_ERR_DB_002MigrationErrorDatabase migration error.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyInfrastructureError
LEX_ERR_DB_003IntegrityErrorRaised when a database integrity constraint is violated.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyDatabaseError
LEX_ERR_DB_004ConstraintErrorRaised when a generic database constraint is violated.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyIntegrityError
LEX_ERR_DB_005DuplicateKeyErrorRaised when a unique-key constraint is violated (duplicate record).lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyConstraintError
LEX_ERR_DB_006UnitOfWorkErrorRaised when a unit-of-work operation fails or is used incorrectly.lexigram-contracts/src/lexigram/contracts/data/exceptions.pyLexigramError
LEX_ERR_DB_007DataErrorBase exception for all data-domain errors. This is an expected, recoverable error that data clien…lexigram-contracts/src/lexigram/contracts/data/exceptions.pyDomainError
LEX_ERR_DB_008DataNotFoundErrorRaised when data item is not found.lexigram-contracts/src/lexigram/contracts/data/exceptions.pyDataError
LEX_ERR_DB_009DataValidationErrorRaised when data validation fails.lexigram-contracts/src/lexigram/contracts/data/exceptions.pyDataError
LEX_ERR_DB_010InvalidIdentifierErrorRaised when an SQL identifier fails validation. Attributes: identifier: The offending identifier …lexigram-contracts/src/lexigram/contracts/data/sql/sql.pyValidationError
LEX_ERR_DB_011NoPrimaryBackendErrorRaised when a multi-backend setup has no backend marked as primary. For multi-backend SQL configu…lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyDatabaseError
LEX_ERR_DI_001ContainerErrorBase container error.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyLexigramError
LEX_ERR_DI_002DependencyErrorDependency resolution error.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyContainerError
LEX_ERR_DI_003CircularDependencyErrorCircular dependency detected.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyDependencyError
LEX_ERR_DI_004UnresolvableDependencyErrorCannot resolve dependency.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyDependencyError
LEX_ERR_DI_005RegistrationErrorService registration error.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyContainerError
LEX_ERR_DI_006ContainerBuildErrorContainer build/configuration error.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyContainerError
LEX_ERR_DI_007ProtocolValidationErrorProtocol validation error.lexigram-contracts/src/lexigram/contracts/exceptions/container.pyContainerError
LEX_ERR_DI_008ContainerValidationErrorContainer dependency graph validation failed before boot. Raised when Container.validate() di…lexigram-contracts/src/lexigram/contracts/exceptions/container.pyContainerBuildError
LEX_ERR_DI_009ScopedResolutionErrorAttempted to resolve a scoped service outside of an active scope. Raised when a service registere…lexigram-contracts/src/lexigram/contracts/exceptions/container.pyUnresolvableDependencyError
LEX_ERR_DOM_001DomainErrorBusiness/domain-level errors (validation failures, not found, auth).lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyLexigramError
LEX_ERR_DOM_002NotFoundErrorResource not found error (domain-level).lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_DOM_003PermissionDeniedErrorPermission denied error (domain-level).lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_DOM_004AuthenticationErrorAuthentication error (domain-level).lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_DOM_005AuthorizationErrorAuthorization/permission error (domain-level).lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_DOM_006RateLimitErrorRate limiting error.lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_DOM_007ConflictErrorResource conflict error.lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_EVAL_001EvaluationErrorBase for evaluation system errors. Extended in the AI evaluation layer with specific failures lik…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_EVT_001EventErrorBase events/messaging error.lexigram-contracts/src/lexigram/contracts/exceptions/events.pyLexigramError
LEX_ERR_EVT_002HandlerNotFoundErrorEvent/command handler not found. Raised when no handler is registered for a specific event or com…lexigram-contracts/src/lexigram/contracts/exceptions/events.pyEventError
LEX_ERR_EVT_003DuplicateHandlerErrorDuplicate handler registration. Raised when attempting to register a handler for a type that alre…lexigram-contracts/src/lexigram/contracts/exceptions/events.pyEventError
LEX_ERR_FEAT_001FeatureFlagErrorBase error for the feature flag subsystem.lexigram-contracts/src/lexigram/contracts/exceptions/feature_flags.pyLexigramError
LEX_ERR_GOV_001GovernanceErrorBase class for governance-related errors.lexigram-contracts/src/lexigram/contracts/ai/governance.pyLexigramError
LEX_ERR_GOV_002BudgetExceededErrorError raised when budget is exceeded.lexigram-contracts/src/lexigram/contracts/ai/governance.pyGovernanceError
LEX_ERR_GOV_003PolicyViolationErrorError raised when policy is violated.lexigram-contracts/src/lexigram/contracts/ai/governance.pyGovernanceError
LEX_ERR_GUARD_001GuardErrorBase for AI guard/policy enforcement errors. Extended in the AI guard layer with specific failure…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_GUARD_002InputGuardErrorError raised during input guard validation.lexigram-contracts/src/lexigram/contracts/ai/guards.pyGuardError
LEX_ERR_GUARD_003OutputGuardErrorError raised during output guard validation.lexigram-contracts/src/lexigram/contracts/ai/guards.pyGuardError
LEX_ERR_IDEM_001IdempotencyErrorBase exception for idempotency flows.lexigram-contracts/src/lexigram/contracts/exceptions/idempotency.pyLexigramError
LEX_ERR_IDEM_002DuplicateRequestErrorRaised when an idempotent key is reused before completion.lexigram-contracts/src/lexigram/contracts/exceptions/idempotency.pyIdempotencyError
LEX_ERR_IDEM_003IdempotencyStoreErrorRaised on unexpected failures inside the idempotency store.lexigram-contracts/src/lexigram/contracts/exceptions/idempotency.pyIdempotencyError
LEX_ERR_IDEM_004IdempotencyConflictErrorRaised when an idempotency key is already claimed (PENDING).lexigram-contracts/src/lexigram/contracts/exceptions/idempotency.pyIdempotencyError
LEX_ERR_IDX_001IndexErrorRaised when index operations fail in an expected, recoverable way.lexigram-contracts/src/lexigram/contracts/ai/index.pyRAGError
LEX_ERR_INFRA_001InfrastructureErrorSystem-level failures (DB down, network timeouts).lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyLexigramError
LEX_ERR_INFRA_002LockErrorDistributed lock error.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyInfrastructureError
LEX_ERR_INFRA_003LockConflictErrorRaised when a lock conflict occurs (resource already locked).lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyLockError
LEX_ERR_INFRA_004ComponentErrorBase exception for all component-related errors.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyLexigramError
LEX_ERR_INFRA_005ComponentConnectionErrorRaised when a connection to an external service fails.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyInfrastructureError, ComponentError
LEX_ERR_INFRA_006KeyNotFoundErrorRaised when a requested key does not exist.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyNotFoundError, ComponentError
LEX_ERR_INFRA_007KeyExistsErrorRaised when trying to create a key that already exists.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyConflictError, ComponentError
LEX_ERR_INFRA_008PubSubErrorBase exception for pub/sub operations.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyInfrastructureError, ComponentError
LEX_ERR_INFRA_009SecretNotFoundErrorRaised when a requested secret does not exist.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyNotFoundError, ComponentError
LEX_ERR_INFRA_010DriverNotAvailableErrorRaised when a driver is not available (dependency not installed).lexigram-contracts/src/lexigram/contracts/exceptions/components.pyComponentError
LEX_ERR_INFRA_011_StoredStreamErrorInternal carrier for propagating typed stream failures.lexigram-contracts/src/lexigram/contracts/infra/streams.pyException, Generic[E]
LEX_ERR_LLM_001LLMErrorBase for LLM client errors. Extended in lexigram-ai-llm with specific failures like rate limiting…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_LOAD_001LoaderErrorRaised when document loading fails in an expected, recoverable way. Extended in lexigram-ai-rag w…lexigram-contracts/src/lexigram/contracts/ai/loaders.pyRAGError
LEX_ERR_LOCK_001LockAcquisitionErrorRaised when acquiring a lock fails.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyLockError, ComponentError
LEX_ERR_LOCK_002LockNotHeldErrorRaised when trying to operate on a lock that is not held.lexigram-contracts/src/lexigram/contracts/exceptions/components.pyLockError, ComponentError
LEX_ERR_MAP_001MappingErrorObject mapping error.lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyLexigramError
LEX_ERR_MCP_001MCPErrorBase exception for all MCP errors.lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyLexigramError
LEX_ERR_MCP_002MCPTransportErrorTransport-level error (connection, I/O). Raised when the MCP transport layer encounters errors su…lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MCP_003MCPToolCallErrorTool call failed during MCP execution. Raised when a tool invocation fails, either due to the too…lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MCP_004MCPResourceErrorResource read or list failed. Raised when a resource operation fails, such as when a resource is …lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MCP_005MCPProtocolErrorProtocol violation (malformed message, invalid state). Raised when an MCP message violates the pr…lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MCP_006MCPMethodNotFoundErrorUnknown MCP method requested by client. Raised when the client requests an MCP method that the se…lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MCP_007MCPPromptErrorPrompt retrieval or list failed. Raised when a prompt operation fails, such as when a prompt is n…lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MCP_008MCPInitializationErrorMCP server initialization failed. Raised when the MCP server cannot be initialized, usually due t…lexigram-contracts/src/lexigram/contracts/mcp/exceptions.pyMCPError
LEX_ERR_MEM_001AIMemoryErrorBase for AI memory system errors. Extended in lexigram-ai-memory with specific failures like cons…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_MEM_002ConsolidationErrorError raised during memory consolidation.lexigram-contracts/src/lexigram/contracts/ai/memory.pyAIMemoryError
LEX_ERR_MEM_003StorageErrorError raised during memory storage operations.lexigram-contracts/src/lexigram/contracts/ai/memory.pyAIMemoryError
LEX_ERR_MOD_001ModuleErrorModule configuration or lifecycle error.lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyLexigramError
LEX_ERR_MOD_002ModuleImportErrorA module imports a module that does not exist in the graph. Raised during module compilation when…lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyModuleError
LEX_ERR_MOD_003ModuleExportErrorA module exports a type not provided by its providers. Raised during post-registration validation…lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyModuleError
LEX_ERR_MOD_004ModuleCycleErrorCircular dependency detected in the module import graph. Raised during module compilation when a …lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyModuleError
LEX_ERR_MOD_005ModuleVisibilityErrorA provider depends on a service not visible to its module. Raised when a provider in module A tri…lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyModuleError
LEX_ERR_MOD_006ModuleDuplicateErrorThe same module appears twice with conflicting configurations. Raised when two :class:`DynamicMod…lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyModuleError
LEX_ERR_MW_001MiddlewareGuardErrorRaised when a middleware guard denies access.lexigram-contracts/src/lexigram/contracts/exceptions/middleware.pyLexigramError
LEX_ERR_NOTIF_001NotificationErrorBase for expected, recoverable notification delivery failures. Attributes: channel: Notification …lexigram-contracts/src/lexigram/contracts/notification/errors.pyDomainError
LEX_ERR_NOTIF_002MailerErrorBase mailer/email notification error.lexigram-contracts/src/lexigram/contracts/mailer/errors.pyDomainError
LEX_ERR_PIPE_001PipelineExecutionErrorError raised during pipeline execution.lexigram-contracts/src/lexigram/contracts/exceptions/execution.pyLexigramError
LEX_ERR_PIPE_002PipelineStepErrorError raised by a pipeline step.lexigram-contracts/src/lexigram/contracts/exceptions/execution.pyLexigramError
LEX_ERR_PROV_001ProviderErrorProvider configuration or lifecycle error.lexigram-contracts/src/lexigram/contracts/exceptions/provider.pyLexigramError
LEX_ERR_QE_001QueryEngineErrorRaised when query engine operations fail in an expected, recoverable way.lexigram-contracts/src/lexigram/contracts/ai/index.pyRAGError
LEX_ERR_QUEUE_001QueueErrorBase for expected, recoverable queue / bus failures. Attributes: backend: Name of the queue backe…lexigram-contracts/src/lexigram/contracts/queue/errors.pyDomainError
LEX_ERR_RAG_001RAGErrorBase for RAG pipeline errors. Extended in lexigram-ai-rag with specific failures like retrieval, …lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_RAG_002RetrievalErrorError raised during document retrieval.lexigram-contracts/src/lexigram/contracts/ai/rag.pyRAGError
LEX_ERR_RAG_003SynthesisErrorError raised during response synthesis.lexigram-contracts/src/lexigram/contracts/ai/rag.pyRAGError
LEX_ERR_RAG_004ChunkingErrorError raised during document chunking.lexigram-contracts/src/lexigram/contracts/ai/rag.pyRAGError
LEX_ERR_REG_001RegistryErrorBase exception for registry errors.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyLexigramError
LEX_ERR_REG_002RegistryKeyErrorRaised when a key is not found in a registry.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyRegistryError, KeyError
LEX_ERR_REG_003RegistryAlreadyExistsErrorRaised when attempting to register a duplicate key in a registry.lexigram-contracts/src/lexigram/contracts/exceptions/infra.pyRegistryError
LEX_ERR_RESULT_002UnwrapErrorRaised when unwrap() or unwrap_err() is called on the wrong variant. Provides a clearer error typ…lexigram-contracts/src/lexigram/contracts/core/result.pyException
LEX_ERR_RES_001ResilienceErrorBase resilience error.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyLexigramError
LEX_ERR_RES_002RetryErrorRetry operation error.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyResilienceError
LEX_ERR_RES_003CircuitBreakerErrorCircuit breaker error.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyResilienceError
LEX_ERR_RES_004BulkheadErrorBulkhead/rejection error.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyResilienceError
LEX_ERR_RES_005FallbackErrorFallback execution error.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyResilienceError
LEX_ERR_RES_006RetryExhaustedErrorAll retry attempts have been exhausted.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyRetryError
LEX_ERR_RES_007CircuitOpenErrorCircuit breaker is open and rejecting requests.lexigram-contracts/src/lexigram/contracts/exceptions/resilience.pyCircuitBreakerError
LEX_ERR_RET_001RetrieverErrorBase for retriever errors. Raised when document retrieval fails in an expected, recoverable way (…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_RUN_001RunnableErrorRecoverable composition failure (input shape, parser error, retry budget exceeded).lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_SEC_001SecurityErrorBase security error for the Lexigram security subsystem.lexigram-contracts/src/lexigram/contracts/exceptions/security.pyLexigramError
LEX_ERR_SEC_002GuardDeniedErrorRaised when a GuardChain denies the request. Attributes: guard: The name or type of the guard tha…lexigram-contracts/src/lexigram/contracts/exceptions/security.pySecurityError
LEX_ERR_SEC_003InputSanitizationErrorRaised when sanitization fails due to unrecoverable input structure.lexigram-contracts/src/lexigram/contracts/exceptions/security.pySecurityError
LEX_ERR_SEC_004CORSViolationErrorRaised when a request violates the configured CORS policy. Attributes: origin: The request origin…lexigram-contracts/src/lexigram/contracts/exceptions/security.pySecurityError
LEX_ERR_SEC_005SecretAccessErrorRaised when the caller lacks permission to access or modify a secret. Attributes: secret_name: Na…lexigram-contracts/src/lexigram/contracts/exceptions/security.pySecurityError
LEX_ERR_SERIAL_001SerializationErrorSerialization/deserialization error.lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyLexigramError
LEX_ERR_SES_001SessionErrorBase class for session-related errors.lexigram-contracts/src/lexigram/contracts/ai/session.pyLexigramError
LEX_ERR_SES_002TaskCancelledErrorError raised when a task is cancelled.lexigram-contracts/src/lexigram/contracts/ai/session.pyLexigramError
LEX_ERR_SES_003TaskErrorBase class for task execution errors.lexigram-contracts/src/lexigram/contracts/ai/session.pyLexigramError
LEX_ERR_SES_004TaskTimeoutErrorError raised when a task times out.lexigram-contracts/src/lexigram/contracts/ai/session.pyTaskError
LEX_ERR_SES_005TaskValidationErrorError raised when task input validation fails.lexigram-contracts/src/lexigram/contracts/ai/session.pyTaskError
LEX_ERR_SKILL_001SkillErrorBase for skill execution errors. Extended in lexigram-ai-skills with specific failures like skill…lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_TASK_001TaskQueueErrorBase class for expected, recoverable task queue failures. All subtypes indicate situations the ca…lexigram-contracts/src/lexigram/contracts/infra/tasks/exceptions.pyDomainError
LEX_ERR_TENANT_001TenantErrorBase class for all tenancy-related domain errors.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyDomainError
LEX_ERR_TENANT_002TenantNotFoundErrorRaised when a requested tenant does not exist.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_TENANT_003TenantInactiveErrorRaised when an operation is attempted on an inactive tenant.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_TENANT_004TenantProvisioningErrorRaised when tenant provisioning (isolation setup) fails.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_TENANT_005TenantResolutionErrorRaised when tenant resolution fails unexpectedly.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_TENANT_006TenantConfigErrorRaised when per-tenant configuration access or mutation fails.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_TENANT_007TenantSlugConflictErrorRaised when a tenant slug is already in use.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_TENANT_008TenantSuspendedErrorRaised when an operation is attempted on a suspended tenant.lexigram-contracts/src/lexigram/contracts/tenancy/errors.pyTenantError
LEX_ERR_VAL_001FieldErrorA single field-level validation error. Used to represent validation failures for individual field…lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_VAL_002ValidationErrorData validation error.lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_VEC_001VectorErrorBase exception for vector store errors. Extends InfrastructureError because vector operations inv…lexigram-contracts/src/lexigram/contracts/data/vector/exceptions.pyInfrastructureError
LEX_ERR_VEC_002VectorStoreErrorException raised during vector store operations (CRUD, search).lexigram-contracts/src/lexigram/contracts/data/vector/exceptions.pyVectorError
LEX_ERR_VEC_003EmbeddingErrorException raised during embedding generation or retrieval.lexigram-contracts/src/lexigram/contracts/data/vector/exceptions.pyVectorError
LEX_ERR_VEC_004VectorIndexErrorException raised during vector index creation or management.lexigram-contracts/src/lexigram/contracts/data/vector/exceptions.pyVectorError
LEX_ERR_WEBHOOK_001WebhookErrorBase exception for webhook domain operations.lexigram-contracts/src/lexigram/contracts/webhook/exceptions.pyDomainError
LEX_ERR_WEB_001WebErrorWeb layer error.lexigram-contracts/src/lexigram/contracts/exceptions/domain.pyDomainError
LEX_ERR_WEB_002HttpStatusErrorRaised by :meth:HttpResponse.raise_for_status for 4xx/5xx responses. Attributes: status: HTTP s…lexigram-contracts/src/lexigram/contracts/web/http_models.pyInfrastructureError
LEX_ERR_WF_001WorkflowErrorBase for workflow execution errors. Raised when a workflow graph execution fails in an expected, …lexigram-contracts/src/lexigram/contracts/ai/exceptions.pyAIError
LEX_ERR_WF_002SagaStepErrorRepresents a recoverable failure from a single saga step action. SagaProtocol step actions must r…lexigram-contracts/src/lexigram/contracts/workflow/steps.pyException
CodeClassDescriptionFileInherits From
LEX_ERR_APP_001AppErrorBase exception for all app errors.lexigram/src/lexigram/app/exceptions.pyLexigramError
LEX_ERR_APP_002AppStartupErrorRaised when the application fails to start or a provider fails during boot.lexigram/src/lexigram/app/exceptions.pyAppError
LEX_ERR_APP_003AppShutdownErrorRaised when the application cannot complete a graceful shutdown.lexigram/src/lexigram/app/exceptions.pyAppError
LEX_ERR_CFG_002ConfigurationErrorConfiguration loading, parsing, or validation failed. Raised by: - ConfigProvider during init…lexigram/src/lexigram/exceptions.pyLexigramException
LEX_ERR_CFG_003ConfigSourceErrorRaised when a configuration source fails to load its values.lexigram/src/lexigram/config/exceptions.pyConfigurationError
LEX_ERR_CFG_004ConfigReloadErrorRaised when a live-reload attempt fails.lexigram/src/lexigram/config/exceptions.pyConfigurationError
LEX_ERR_CFG_005ConfigSectionNotFoundErrorRaised when a required config section is absent from the loaded config.lexigram/src/lexigram/config/exceptions.pyConfigurationError
LEX_ERR_CONC_001ConcurrencyErrorBase exception for all concurrency errors.lexigram/src/lexigram/concurrency/exceptions.pyLexigramError
LEX_ERR_CONC_002AsyncErrorException raised for errors in asynchronous operations or concurrency control.lexigram/src/lexigram/concurrency/exceptions.pyConcurrencyError
LEX_ERR_CONC_003ChannelClosedErrorRaised when an operation is attempted on a closed channel.lexigram/src/lexigram/concurrency/exceptions.pyConcurrencyError
LEX_ERR_CONC_004ChannelFullErrorRaised when sending to a channel that is at capacity.lexigram/src/lexigram/concurrency/exceptions.pyConcurrencyError
LEX_ERR_CONC_005DispatcherErrorError in dispatcher execution.lexigram/src/lexigram/concurrency/exceptions.pyConcurrencyError
LEX_ERR_CONC_006StructuredParallelismErrorBase exception for parallel execution errors.lexigram/src/lexigram/concurrency/exceptions.pyConcurrencyError
LEX_ERR_CONC_007TaskGroupErrorRaised when a task group encounters an error.lexigram/src/lexigram/concurrency/exceptions.pyStructuredParallelismError
LEX_ERR_CONC_008CancellationScopeErrorRaised when a cancellation scope encounters an error.lexigram/src/lexigram/concurrency/exceptions.pyStructuredParallelismError
LEX_ERR_CORE_002LexigramExceptionBase exception for all lexigram domain errors. Extends :class:`~lexigram.contracts.exceptions.bas…lexigram/src/lexigram/exceptions.pyLexigramError
LEX_ERR_CORE_005CoreErrorBase exception for all core errors.lexigram/src/lexigram/primitives/exceptions.pyLexigramError
LEX_ERR_DI_010InjectionErrorDependency injection or container resolution failed. Raised by: - Container.resolve() when a …lexigram/src/lexigram/exceptions.pyLexigramException
LEX_ERR_DI_011InterceptorTimeoutErrorRaised when a MethodInterceptorProtocol exceeds its configured timeout.lexigram/src/lexigram/di/extensions/aop_interceptors.pyRuntimeError
LEX_ERR_DOM_008DomainModelErrorDomain model invariant violated or business rule broken. Raised by: - Domain event handlers - Agg…lexigram/src/lexigram/exceptions.pyLexigramException
LEX_ERR_DOM_009PolicyViolationErrorRaised when a domain policy evaluation fails. Distinct from PolicyViolationProtocol (the Resu…lexigram/src/lexigram/domain/exceptions.pyLexigramError
LEX_ERR_MAP_002MappingErrorBase exception for all object-mapping errors.lexigram/src/lexigram/mapping/exceptions.pyLexigramError
LEX_ERR_MAP_003MappingNotFoundErrorRaised when no mapper is registered for a (source, destination) type pair.lexigram/src/lexigram/mapping/exceptions.pyMappingError
LEX_ERR_MAP_004MappingExecutionErrorRaised when a registered mapper raises an unexpected error during execution.lexigram/src/lexigram/mapping/exceptions.pyMappingError
LEX_ERR_MOD_007ModuleErrorModule system error (registration, visibility, exports). Raised by: - Module decorators - Module …lexigram/src/lexigram/exceptions.pyLexigramException
LEX_ERR_MW_002MiddlewareErrorBase exception for infrastructure-level middleware errors.lexigram/src/lexigram/middleware/exceptions.pyInfrastructureError
LEX_ERR_MW_003MiddlewarePolicyErrorBase exception for policy-level middleware rejections. Raised when middleware rejects a request b…lexigram/src/lexigram/middleware/exceptions.pyDomainError
LEX_ERR_MW_004MiddlewareExecutionErrorRaised when a middleware raises an unexpected error during execution.lexigram/src/lexigram/middleware/exceptions.pyMiddlewareError
LEX_ERR_MW_005MiddlewareConfigurationErrorRaised when middleware is configured incorrectly.lexigram/src/lexigram/middleware/exceptions.pyMiddlewareError
LEX_ERR_MW_006MiddlewareChainErrorRaised when the middleware chain cannot be assembled or traversed.lexigram/src/lexigram/middleware/exceptions.pyMiddlewareError
LEX_ERR_MW_007MiddlewareTimeoutErrorRaised when a middleware exceeds its configured timeout.lexigram/src/lexigram/middleware/exceptions.pyMiddlewareError
LEX_ERR_MW_008MiddlewareAuthErrorRaised when middleware-level authentication/authorization fails.lexigram/src/lexigram/middleware/exceptions.pyMiddlewarePolicyError
LEX_ERR_MW_009MiddlewareRateLimitErrorRaised when middleware-level rate limiting is exceeded.lexigram/src/lexigram/middleware/exceptions.pyMiddlewarePolicyError
LEX_ERR_MW_010MiddlewareCircuitOpenErrorRaised when the circuit breaker in middleware is open.lexigram/src/lexigram/middleware/exceptions.pyMiddlewareError
LEX_ERR_SEC_006SecurityErrorBase exception for all security-module errors.lexigram/src/lexigram/security/exceptions.pyLexigramError
LEX_ERR_SEC_007SecretNotFoundErrorRaised when a requested secret does not exist.lexigram/src/lexigram/security/exceptions.pySecretError
LEX_ERR_SEC_008SecretAccessErrorRaised when access to a secret is denied.lexigram/src/lexigram/security/exceptions.pySecretError
LEX_ERR_SEC_009EncryptionErrorRaised when field-level encryption fails.lexigram/src/lexigram/security/exceptions.pySecurityError
LEX_ERR_SEC_010DecryptionErrorRaised when field-level decryption fails.lexigram/src/lexigram/security/exceptions.pySecurityError
LEX_ERR_SEC_011SecretErrorBase exception for secret store errors.lexigram/src/lexigram/security/exceptions.pySecurityError
LEX_ERR_SERIAL_002SerializationErrorJSON serialisation or deserialisation failed. Raised by: - JsonSerializer implementations - D…lexigram/src/lexigram/exceptions.pyLexigramException
LEX_ERR_SERIAL_003SerializationErrorBase exception for serialization and deserialization failures. Extensions should subclass this fo…lexigram/src/lexigram/serialization/exceptions.pyLexigramError
LEX_ERR_SERIAL_004NegotiationErrorRaised when no serializer can be negotiated for a given Accept header.lexigram/src/lexigram/serialization/exceptions.pySerializationError
LEX_ERR_VAL_003ValidationErrorInput validation against rules failed. Raised by: - ValidatorImpl.validate() when rules do no…lexigram/src/lexigram/exceptions.pyLexigramException
LEX_ERR_VAL_004ValidationSystemErrorBase exception for validation system/pipeline failures. Distinct from :class:`~lexigram.contracts…lexigram/src/lexigram/validation/exceptions.pyLexigramError
CodeClassDescriptionFileInherits From
LEX_ERR_AI_005AIErrorBase exception for lexigram-ai.lexigram-ai/src/lexigram/ai/exceptions.py_ContractsAIError
CodeClassDescriptionFileInherits From
LEX_ERR_AGT_004AgentConfigurationErrorInvalid agent configuration. Raised when an agent is constructed with invalid parameters (no tool…lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyAgentError
LEX_ERR_AGT_005AgentExecutionErrorAgent execution failed. Raised when the agent’s reasoning loop encounters an unrecoverable error …lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyAgentError
LEX_ERR_AGT_006ToolNotFoundErrorTool not found in registry. Raised when the agent tries to call a tool that is not registered in …lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyToolError
LEX_ERR_AGT_007ToolExecutionErrorTool execution failed. Raised when a tool raises an exception during execution.lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyToolError
LEX_ERR_AGT_008ToolAccessDeniedErrorAgent does not have access to this tool. Raised when module visibility controls prevent an agent …lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyToolError
LEX_ERR_AGT_009MaxIterationsExceededErrorAgent exceeded maximum reasoning iterations. Raised when the agent reaches max_iterations without…lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyStrategyError
LEX_ERR_AGT_010BudgetExceededErrorAgent exceeded its AI governance budget. Raised when token usage or cost exceeds configured limit…lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyAgentError
LEX_ERR_AGT_011ToolValidationErrorTool input validation failed. Raised when the arguments provided to a tool fail schema validation…lexigram-ai-agents/src/lexigram/ai/agents/exceptions.pyToolError
CodeClassDescriptionFileInherits From
LEX_ERR_FEED_001FeedbackErrorBase exception for all feedback-related errors.lexigram-ai-feedback/src/lexigram/ai/feedback/exceptions.pyAIError
LEX_ERR_FEED_002FeedbackProcessingErrorRaised when a feedback processor fails.lexigram-ai-feedback/src/lexigram/ai/feedback/exceptions.pyFeedbackError
LEX_ERR_FEED_003FeedbackValidationErrorRaised when feedback data fails validation.lexigram-ai-feedback/src/lexigram/ai/feedback/exceptions.pyFeedbackError
CodeClassDescriptionFileInherits From
LEX_ERR_LLM_002LLMErrorBase exception for all LLM-domain errors in lexigram-ai-llm.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.py_ContractsLLMError
LEX_ERR_LLM_003LLMAuthenticationErrorInvalid API key or credentials — infrastructure error, raised not wrapped. Raised as an exception…lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_004InvalidRequestErrorError raised when a request to an LLM provider is invalid.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_005ModelNotFoundErrorModel unavailable or not found — recoverable via fallback routing.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_006LLMModelNotFoundErrorModel unavailable or not found — recoverable via fallback routing. Returned as Err from “LLM…lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyModelNotFoundError
LEX_ERR_LLM_007LLMRateLimitErrorRate limit exceeded — recoverable via backoff/retry. Returned as Err from “LLMClientProtocol…lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_008LLMQuotaExceededErrorAPI quota or billing limit exceeded — recoverable by routing elsewhere. Returned as Err from …lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_009LLMContentFilterErrorContent blocked by provider safety filter — recoverable via reformulation. Returned as Err fr…lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_010TokenLimitErrorError raised when the token limit for a request is exceeded.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_011ProviderConnectionErrorError raised when connection to an LLM provider fails.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_012StreamErrorError raised during LLM response streaming.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyLLMError
LEX_ERR_LLM_013ExtractionErrorBase class for structured extraction errors in lexigram-ai-llm.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.py_ContractsExtractionError
LEX_ERR_LLM_014ExtractionParseErrorError raised when extraction response cannot be parsed as JSON.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyExtractionError
LEX_ERR_LLM_015ExtractionValidationErrorError raised when parsed extraction response fails schema validation.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyExtractionError
LEX_ERR_LLM_016ExtractionMaxRetriesErrorError raised when extraction max retries are exhausted.lexigram-ai-llm/src/lexigram/ai/llm/exceptions.pyExtractionError
LEX_ERR_LLM_017StructuredOutputErrorBase exception for structured output errors.lexigram-ai-llm/src/lexigram/ai/llm/structured/exceptions.pyExtractionError
LEX_ERR_LLM_018ParseErrorRaised when response cannot be parsed.lexigram-ai-llm/src/lexigram/ai/llm/structured/exceptions.pyStructuredOutputError
LEX_ERR_LLM_019SchemaValidationErrorRaised when parsed response fails validation.lexigram-ai-llm/src/lexigram/ai/llm/structured/exceptions.pyStructuredOutputError
LEX_ERR_LLM_020ModelManagerErrorBase exception for model manager errors.lexigram-ai-llm/src/lexigram/ai/llm/model_manager/types.pyLLMError
LEX_ERR_LLM_021ModelNotFoundErrorRaised when a requested model is not found.lexigram-ai-llm/src/lexigram/ai/llm/model_manager/types.pyModelManagerError, BaseModelNotFoundError
LEX_ERR_LLM_022ModelLoadErrorRaised when a model fails to load.lexigram-ai-llm/src/lexigram/ai/llm/model_manager/types.pyModelManagerError
LEX_ERR_LLM_023ModelUnloadErrorRaised when a model fails to unload.lexigram-ai-llm/src/lexigram/ai/llm/model_manager/types.pyModelManagerError
LEX_ERR_LLM_024ProviderConnectionErrorRaised when connection to provider fails.lexigram-ai-llm/src/lexigram/ai/llm/model_manager/types.pyModelManagerError, BaseProviderConnectionError
LEX_ERR_LLM_025OrchestratorErrorBase orchestration error.lexigram-ai-llm/src/lexigram/ai/llm/routing/orchestrator.pyLLMError
LEX_ERR_LLM_026NoSuitableModelErrorNo model found that meets the requirements.lexigram-ai-llm/src/lexigram/ai/llm/routing/orchestrator.pyOrchestratorError
CodeClassDescriptionFileInherits From
LEX_ERR_MEM_005MemorySystemErrorBase exception for memory operations.lexigram-ai-memory/src/lexigram/ai/memory/exceptions.py_ContractsAIMemoryError
LEX_ERR_MEM_006MemoryStoreErrorRaised when a backend store operation fails.lexigram-ai-memory/src/lexigram/ai/memory/exceptions.pyMemorySystemError
LEX_ERR_MEM_008MemoryCapacityErrorRaised when a memory store is at capacity and cannot accept new entries.lexigram-ai-memory/src/lexigram/ai/memory/exceptions.pyMemorySystemError
LEX_ERR_MEM_009EmbeddingErrorRaised when generating or storing an embedding fails.lexigram-ai-memory/src/lexigram/ai/memory/exceptions.pyMemorySystemError
LEX_ERR_MEM_010FactExtractionErrorRaised when entity/fact extraction from text fails.lexigram-ai-memory/src/lexigram/ai/memory/exceptions.pyMemorySystemError
CodeClassDescriptionFileInherits From
LEX_ERR_OBS_001ObservabilityErrorBase exception for all observability-related errors.lexigram-ai-observability/src/lexigram/ai/observability/exceptions.pyAIError
LEX_ERR_OBS_002HealthCheckErrorRaised when a health check infrastructure operation fails.lexigram-ai-observability/src/lexigram/ai/observability/exceptions.pyObservabilityError
LEX_ERR_OBS_003MetricsErrorRaised when a metrics recording or retrieval operation fails.lexigram-ai-observability/src/lexigram/ai/observability/exceptions.pyObservabilityError
LEX_ERR_OBS_004TracingErrorRaised when a tracing operation fails.lexigram-ai-observability/src/lexigram/ai/observability/exceptions.pyObservabilityError
CodeClassDescriptionFileInherits From
LEX_ERR_RAG_005RAGErrorBase exception for RAG errors.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.py_ContractsRAGError
LEX_ERR_RAG_006PreprocessingErrorRaised when document preprocessing fails.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyRAGError
LEX_ERR_RAG_010MultimodalErrorBase exception for multimodal processing errors.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyRAGError
LEX_ERR_RAG_011AudioLoaderErrorRaised when audio loading fails.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyMultimodalError
LEX_ERR_RAG_012VideoLoaderErrorRaised when video loading fails.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyMultimodalError
LEX_ERR_RAG_013ImageLoaderErrorRaised when image loading fails.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyMultimodalError
LEX_ERR_RAG_014CLIPEmbeddingErrorRaised when CLIP embedding computation fails.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyMultimodalError
LEX_ERR_RAG_015MissingCitationsErrorRaised when a pipeline with require_citations=True produces no citations.lexigram-ai-rag/src/lexigram/ai/rag/exceptions.pyRAGError
LEX_ERR_RAG_016UnsupportedFormatErrorRaised when no loader is registered for the given file format or URL.lexigram-ai-rag/src/lexigram/ai/rag/loaders/registry.pyRAGError
LEX_ERR_RAG_017MissingOptionalDependencyErrorlexigram-ai-rag/src/lexigram/ai/rag/deps/optional.pyImportError
CodeClassDescriptionFileInherits From
LEX_ERR_SES_006SessionErrorBase error for all session operations. All session-specific exceptions inherit from this class.lexigram-ai-session/src/lexigram/ai/session/exceptions.py_ContractsSessionError
LEX_ERR_SES_007SessionNotFoundErrorRaised when a session cannot be found by its ID. Args: session_id: The ID of the session that was…lexigram-ai-session/src/lexigram/ai/session/exceptions.pySessionError
LEX_ERR_SES_008SessionClosedErrorRaised when an operation is attempted on a closed session. Args: session_id: The ID of the closed…lexigram-ai-session/src/lexigram/ai/session/exceptions.pySessionError
LEX_ERR_SES_009SessionExpiredErrorRaised when an operation is attempted on an expired session. Args: session_id: The ID of the expi…lexigram-ai-session/src/lexigram/ai/session/exceptions.pySessionError
LEX_ERR_SES_010CheckpointNotFoundErrorRaised when a checkpoint cannot be found by its ID. Args: checkpoint_id: The ID of the checkpoint…lexigram-ai-session/src/lexigram/ai/session/exceptions.pySessionError
LEX_ERR_SES_011SessionTransitionErrorRaised when an invalid state transition is attempted. Args: session_id: The session ID. from_stat…lexigram-ai-session/src/lexigram/ai/session/exceptions.pySessionError
LEX_ERR_SES_012SessionCapacityErrorRaised when a session limit is exceeded. Args: detail: Human-readable description of the exceeded…lexigram-ai-session/src/lexigram/ai/session/exceptions.pySessionError
CodeClassDescriptionFileInherits From
LEX_ERR_SKILL_002SkillNotFoundErrorRaised when a requested skill is not registered.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
LEX_ERR_SKILL_003SkillAlreadyRegisteredErrorRaised when a skill is registered under a name that already exists.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
LEX_ERR_SKILL_004SkillValidationErrorRaised when skill parameter validation fails.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
LEX_ERR_SKILL_005SkillPermissionDeniedErrorRaised when the caller lacks required permissions for a skill.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
LEX_ERR_SKILL_006SkillTimeoutErrorRaised when skill execution exceeds the configured timeout.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
LEX_ERR_SKILL_007SkillRoutingErrorRaised when a SkillRouter finds no matching route.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
LEX_ERR_SKILL_008SkillExecutionErrorRaised when a skill execution fails after all retry attempts.lexigram-ai-skills/src/lexigram/ai/skills/exceptions.pySkillError
CodeClassDescriptionFileInherits From
LEX_ERR_AIWORK_001WorkerErrorBase exception for all worker-related errors.lexigram-ai-workers/src/lexigram/ai/workers/exceptions.pyAIError
LEX_ERR_AIWORK_002DLQErrorRaised when a Dead Letter Queue operation fails.lexigram-ai-workers/src/lexigram/ai/workers/exceptions.pyWorkerError
LEX_ERR_AIWORK_003MaintenanceErrorRaised when a maintenance task operation fails.lexigram-ai-workers/src/lexigram/ai/workers/exceptions.pyWorkerError
CodeClassDescriptionFileInherits From
LEX_ERR_AUDIT_001AuditErrorBase exception for all audit-domain errors.lexigram-audit/src/lexigram/audit/exceptions.pyDomainError
LEX_ERR_AUDIT_002AuditStoreErrorRaised when the audit store fails to persist or query entries.lexigram-audit/src/lexigram/audit/exceptions.pyAuditError
LEX_ERR_AUDIT_003AuditVerificationErrorRaised when audit trail verification encounters an unexpected failure.lexigram-audit/src/lexigram/audit/exceptions.pyAuditError
LEX_ERR_AUDIT_004AuditRetentionErrorRaised when a retention purge fails.lexigram-audit/src/lexigram/audit/exceptions.pyAuditError
CodeClassDescriptionFileInherits From
LEX_ERR_AUTH_004AuthErrorBase exception for all auth errors.lexigram-auth/src/lexigram/auth/exceptions.pyContractsAuthError
LEX_ERR_AUTH_005AuthenticationErrorRaised when authentication fails.lexigram-auth/src/lexigram/auth/exceptions.pyLexigramAuthenticationError, AuthError
LEX_ERR_AUTH_006AuthorizationErrorRaised when user lacks required permissions.lexigram-auth/src/lexigram/auth/exceptions.pyLexigramAuthorizationError, AuthError
LEX_ERR_AUTH_007InvalidCredentialsErrorRaised when credentials are invalid.lexigram-auth/src/lexigram/auth/exceptions.pyAuthenticationError
LEX_ERR_AUTH_008AccountLockedErrorRaised when an account is locked due to too many failed login attempts. Accounts are locked autom…lexigram-auth/src/lexigram/auth/exceptions.pyAuthenticationError
LEX_ERR_AUTH_009UserNotFoundErrorRaised when user is not found.lexigram-auth/src/lexigram/auth/exceptions.pyLexigramNotFoundError, AuthError
LEX_ERR_AUTH_010TokenErrorBase exception for token-related errors.lexigram-auth/src/lexigram/auth/exceptions.pyInvalidCredentialsError
LEX_ERR_AUTH_011InvalidTokenErrorRaised when a token is malformed or invalid.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_012TokenExpiredErrorRaised when a token has expired.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_013TokenBlacklistedErrorToken has been explicitly revoked.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_014TokenInvalidErrorToken is structurally invalid or has wrong type.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_015TokenAudienceErrorToken audience claim does not match expected.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_016TokenNotFoundErrorToken record does not exist.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_017InvalidAudienceErrorRaised when a token audience is invalid.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_018InvalidScopeErrorRaised when a token lacks required scope.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_019BlacklistedTokenErrorRaised when a token has been blacklisted.lexigram-auth/src/lexigram/auth/exceptions.pyTokenError
LEX_ERR_AUTH_020TokenExpiredVerificationErrorAccount verification has expired.lexigram-auth/src/lexigram/auth/exceptions.pyVerificationError
LEX_ERR_AUTH_021AlreadyVerifiedErrorAccount is already verified.lexigram-auth/src/lexigram/auth/exceptions.pyVerificationError
LEX_ERR_AUTH_022EmailExistsErrorRaised when email is already taken.lexigram-auth/src/lexigram/auth/exceptions.pyAuthError, ConflictError
LEX_ERR_AUTH_023UsernameExistsErrorRaised when username is already taken.lexigram-auth/src/lexigram/auth/exceptions.pyAuthError, ConflictError
LEX_ERR_AUTH_024PasswordPolicyErrorRaised when password doesn’t meet requirements.lexigram-auth/src/lexigram/auth/exceptions.pyAuthError
LEX_ERR_AUTH_025OAuth2ErrorBase exception for OAuth2 errors.lexigram-auth/src/lexigram/auth/exceptions.pyAuthError
LEX_ERR_AUTH_026SessionNotFoundErrorRaised when a session cannot be found in the store.lexigram-auth/src/lexigram/auth/exceptions.pyLexigramNotFoundError, AuthError
LEX_ERR_AUTH_027AccountVerificationErrorError during account verification operations.lexigram-auth/src/lexigram/auth/authn/account_verification.pyException
LEX_ERR_AUTH_028PasswordResetTokenErrorError during password reset token operations.lexigram-auth/src/lexigram/auth/authn/password_reset.pyException
LEX_ERR_SEC_012RateLimitExceededErrorRaised when a client has exceeded the configured rate limit. Carries retry_after (seconds) so…lexigram-auth/src/lexigram/auth/web/middleware/throttle.pyException
CodeClassDescriptionFileInherits From
LEX_ERR_CACHE_004CacheErrorBase exception for cache errors.lexigram-cache/src/lexigram/cache/exceptions.pyLexigramError
LEX_ERR_CACHE_005CacheBackendErrorRaised when the cache backend (Redis/Memcached) fails.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_006CacheConnectionErrorRaised when the cache connection fails.lexigram-cache/src/lexigram/cache/exceptions.pyCacheBackendError
LEX_ERR_CACHE_007CacheTimeoutErrorRaised when a cache operation times out.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_008CacheKeyErrorRaised when a cache key is invalid or for key-specific errors.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_009CacheConfigurationErrorRaised when cache configuration is invalid.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_010CacheStampedeErrorRaised when cache stampede protection fails.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_011CacheInvalidationErrorRaised when cache invalidation fails.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_012LockAcquisitionErrorRaised when a distributed lock cannot be acquired.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_013CacheSerializationErrorRaised when serialization/deserialization fails.lexigram-cache/src/lexigram/cache/exceptions.pySerializationError, CacheError
LEX_ERR_CACHE_014CacheCapacityErrorRaised when the cache is at capacity.lexigram-cache/src/lexigram/cache/exceptions.pyCacheError
LEX_ERR_CACHE_015CacheSerializationErrorRaised when cache serialization or deserialization fails. This is a cache-specific subclass of th…lexigram-cache/src/lexigram/cache/serialization/base.pySerializationError
CodeClassDescriptionFileInherits From
LEX_ERR_CLI_001CliErrorBase exception for lexigram-cli operations.lexigram-cli/src/lexigram/cli/exceptions.pyLexigramError
LEX_ERR_CLI_002ConfigNotFoundErrorRaised when application.yaml configuration file is not found.lexigram-cli/src/lexigram/cli/exceptions.pyCliError
LEX_ERR_CLI_003ProviderNotInstalledErrorRaised when a required provider package is not installed.lexigram-cli/src/lexigram/cli/exceptions.pyCliError
CodeClassDescriptionFileInherits From
LEX_ERR_EVT_004ConcurrencyErrorConcurrency/optimistic locking error. Raised when event version conflicts indicate concurrent mod…lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_005CommandExecutionErrorCommand execution error.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_006QueryExecutionErrorQuery execution error.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_007StreamNotFoundErrorRaised when stream is not found. Parameters mirror the helper used in tests: (stream_type, stream…lexigram-events/src/lexigram/events/exceptions.pyDomainError
LEX_ERR_EVT_008EventHandlerErrorRaised when event handling fails.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_009AggregateNotFoundErrorRaised when aggregate is not found.lexigram-events/src/lexigram/events/exceptions.pyNotFoundError
LEX_ERR_EVT_010AdapterConnectionErrorRaised when adapter connection fails.lexigram-events/src/lexigram/events/exceptions.pyInfrastructureError
LEX_ERR_EVT_011EventLoadErrorRaised when event loading fails.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_012EventPersistenceErrorRaised when event persistence fails.lexigram-events/src/lexigram/events/exceptions.pyInfrastructureError, EventError
LEX_ERR_EVT_013EventStoreErrorRaised for event store errors.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_014EventStoreConnectionErrorRaised when event store connection fails.lexigram-events/src/lexigram/events/exceptions.pyEventStoreError, AdapterConnectionError
LEX_ERR_EVT_015ProjectionBuildErrorRaised when projection building fails.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_016ProjectionRebuildErrorRaised when projection rebuilding fails (alias for collection stability).lexigram-events/src/lexigram/events/exceptions.pyProjectionBuildError
LEX_ERR_EVT_017ProjectionNotFoundErrorRaised when a projection is not found.lexigram-events/src/lexigram/events/exceptions.pyNotFoundError
LEX_ERR_EVT_018WebhookDeliveryErrorRaised when an outbound webhook delivery fails after all retry attempts. Carries the target urllexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_019SchemaErrorRaised for schema-related errors.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_020SecurityErrorRaised for security-related errors.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_021StreamingErrorRaised for streaming-related errors.lexigram-events/src/lexigram/events/exceptions.pyEventError
LEX_ERR_EVT_022SchemaIncompatibleErrorRaised when a schema is not compatible with previous version.lexigram-events/src/lexigram/events/schema/models.pyEventError
LEX_ERR_EVT_023SchemaNotFoundErrorRaised when a schema is not found.lexigram-events/src/lexigram/events/schema/models.pyEventError
CodeClassDescriptionFileInherits From
LEX_ERR_FEAT_002FlagNotFoundErrorRaised when a requested feature flag does not exist in any provider. Attributes: flag_key: The ke…lexigram-features/src/lexigram/features/exceptions.pyFeatureFlagError
LEX_ERR_FEAT_003FlagEvaluationErrorRaised when a flag provider fails during evaluation. Attributes: flag_key: The key of the flag th…lexigram-features/src/lexigram/features/exceptions.pyFeatureFlagError
LEX_ERR_FEAT_004FeatureFlagDisabledErrorRaised when a feature-guarded path is called with the flag disabled.lexigram-features/src/lexigram/features/exceptions.pyFeatureFlagError
CodeClassDescriptionFileInherits From
LEX_ERR_GRAPH_001GraphErrorBase exception for all graph store operations.lexigram-graph/src/lexigram/graph/exceptions.pyInfrastructureError
LEX_ERR_GRAPH_002GraphConnectionErrorFailed to connect to the graph store.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_003GraphNotFoundErrorRequested graph database does not exist.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_004GraphAlreadyExistsErrorAttempted to create a graph that already exists.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_005GraphNodeNotFoundErrorReferenced node does not exist.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_006GraphEdgeNotFoundErrorReferenced edge does not exist.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_007DetachRequiredErrorNode has edges and detach=False was specified.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_008TraversalErrorTraversal query failed.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_009CypherCompilationErrorFailed to compile a traversal query to Cypher.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_010GraphSchemaErrorSchema operation (index, constraint) failed.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_011GraphTransactionErrorGraph transaction failed.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
LEX_ERR_GRAPH_012GraphQueryErrorRaw query execution failed.lexigram-graph/src/lexigram/graph/exceptions.pyGraphError
CodeClassDescriptionFileInherits From
LEX_ERR_GQL_001GraphQLErrorBase exception for all GraphQL errors.lexigram-graphql/src/lexigram/graphql/exceptions.pyLexigramError
LEX_ERR_GQL_002ExecutionErrorRaised when execution fails.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_003GraphQLTimeoutErrorRaised when execution times out.lexigram-graphql/src/lexigram/graphql/exceptions.pyExecutionError
LEX_ERR_GQL_004QueryTooDeepErrorRaised when a GraphQL query exceeds the maximum depth.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_005InputGraphQLErrorRaised for invalid user input.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_006ParseErrorRaised when query parsing fails.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_007QueryTooComplexErrorRaised when query exceeds complexity limit.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_008ResolverErrorRaised when a resolver fails.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_009AuthenticationErrorRaised when authentication is required but missing. Also satisfies “lexigram.contracts.exception…lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError, _ContractsAuthenticationError
LEX_ERR_GQL_010AuthorizationErrorRaised when user is authenticated but lacks permissions. Also satisfies “lexigram.contracts.exce…lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError, _ContractsAuthorizationError
LEX_ERR_GQL_011ForbiddenErrorRaised when access is forbidden.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_012NotFoundErrorRaised when a requested resource is not found.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_013RateLimitErrorRaised when rate limit is exceeded.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_014SubscriptionErrorRaised for subscription-related errors.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
LEX_ERR_GQL_015GraphQLConnectionErrorRaised when a network connection error occurs during GraphQL execution.lexigram-graphql/src/lexigram/graphql/exceptions.pyGraphQLError
CodeClassDescriptionFileInherits From
LEX_ERR_HTTP_001HTTPClientErrorBase exception for all HTTP client errors.lexigram-http/src/lexigram/http/exceptions.pyInfrastructureError
LEX_ERR_HTTP_002HTTPConnectionErrorRaised when a connection to a remote host fails.lexigram-http/src/lexigram/http/exceptions.pyHTTPClientError
LEX_ERR_HTTP_003HTTPTimeoutErrorRaised when a connection or request times out.lexigram-http/src/lexigram/http/exceptions.pyHTTPClientError
LEX_ERR_HTTP_004HTTPInterceptorErrorRaised when a request/response interceptor fails.lexigram-http/src/lexigram/http/exceptions.pyHTTPClientError
LEX_ERR_HTTP_005HTTPCircuitOpenErrorRaised when the circuit breaker is open and requests are rejected.lexigram-http/src/lexigram/http/exceptions.pyHTTPClientError
LEX_ERR_HTTP_006HTTPRetryExhaustedErrorRaised when all retry attempts for a request have been exhausted.lexigram-http/src/lexigram/http/exceptions.pyHTTPClientError
LEX_ERR_HTTP_007HTTPStatusErrorRaised (or returned as an Err) when the server responds with 4xx/5xx. Callers using the Result-ba…lexigram-http/src/lexigram/http/exceptions.pyHTTPClientError
CodeClassDescriptionFileInherits From
LEX_ERR_MONITOR_001MonitorErrorBase exception for monitoring errors.lexigram-monitor/src/lexigram/monitor/exceptions.pyLexigramError
LEX_ERR_MONITOR_002BackendNotAvailableErrorRaised when a required monitoring backend is not available.lexigram-monitor/src/lexigram/monitor/exceptions.pyMonitorError
LEX_ERR_MONITOR_003MetricNotFoundErrorRaised when a requested metric is not found.lexigram-monitor/src/lexigram/monitor/exceptions.pyMonitorError
LEX_ERR_MONITOR_004InvalidMetricErrorRaised when metric parameters are invalid.lexigram-monitor/src/lexigram/monitor/exceptions.pyMonitorError
LEX_ERR_MONITOR_005SpanErrorBase exception for span-related errors.lexigram-monitor/src/lexigram/monitor/exceptions.pyMonitorError
LEX_ERR_MONITOR_006SpanNotFoundErrorRaised when a requested span is not found.lexigram-monitor/src/lexigram/monitor/exceptions.pySpanError
LEX_ERR_MONITOR_007MonitorConfigurationErrorRaised when monitoring configuration is invalid.lexigram-monitor/src/lexigram/monitor/exceptions.pyMonitorError, _ConfigurationError
LEX_ERR_MONITOR_008PerformanceMonitorErrorBase exception for performance monitoring errors.lexigram-monitor/src/lexigram/monitor/profiling/models.pyMonitorError
CodeClassDescriptionFileInherits From
LEX_ERR_NOSQL_001NoSQLErrorBase exception for all NoSQL operations.lexigram-nosql/src/lexigram/nosql/exceptions.pyLexigramError
LEX_ERR_NOSQL_002NoSQLConnectionErrorFailed to connect to the document store.lexigram-nosql/src/lexigram/nosql/exceptions.pyNoSQLError
LEX_ERR_NOSQL_003DocumentNotFoundErrorRequested document does not exist.lexigram-nosql/src/lexigram/nosql/exceptions.pyNoSQLError
LEX_ERR_NOSQL_004DuplicateKeyErrorInsert/update violated a unique constraint.lexigram-nosql/src/lexigram/nosql/exceptions.pyNoSQLError
LEX_ERR_NOSQL_005DocumentValidationErrorDocument failed schema validation.lexigram-nosql/src/lexigram/nosql/exceptions.pyNoSQLError
LEX_ERR_NOSQL_006TransactionErrorMulti-document transaction failed.lexigram-nosql/src/lexigram/nosql/exceptions.pyNoSQLError
CodeClassDescriptionFileInherits From
LEX_ERR_NOTIF_003TwilioNotificationErrorTwilio SMS delivery failure.lexigram-notification/src/lexigram/notification/exceptions.pyNotificationError
LEX_ERR_NOTIF_004FCMNotificationErrorFCM push notification delivery failure.lexigram-notification/src/lexigram/notification/exceptions.pyNotificationError
LEX_ERR_NOTIF_005APNsNotificationErrorAPNs push notification delivery failure.lexigram-notification/src/lexigram/notification/exceptions.pyNotificationError
LEX_ERR_NOTIF_006SMTPMailerErrorSMTP-specific delivery failure (rejection, auth error, etc.).lexigram-notification/src/lexigram/notification/exceptions.pyMailerError
LEX_ERR_NOTIF_007SendGridMailerErrorSendGrid API delivery failure.lexigram-notification/src/lexigram/notification/exceptions.pyMailerError
LEX_ERR_NOTIF_008InboxErrorBase exception for all inbox submodule errors.lexigram-notification/src/lexigram/notification/exceptions.pyDomainError
LEX_ERR_NOTIF_009InboxMessageNotFoundErrorRaised when a requested inbox message does not exist.lexigram-notification/src/lexigram/notification/exceptions.pyInboxError
LEX_ERR_NOTIF_010InboxPermissionErrorRaised when a user attempts to access another user’s inbox messages.lexigram-notification/src/lexigram/notification/exceptions.pyInboxError
LEX_ERR_NOTIF_011WebPushNotificationErrorWeb Push notification delivery failure.lexigram-notification/src/lexigram/notification/exceptions.pyNotificationError
LEX_ERR_NOTIF_012WhatsAppNotificationErrorWhatsApp delivery failure via Twilio provider.lexigram-notification/src/lexigram/notification/backends/sms/whatsapp.pyTwilioNotificationError
LEX_ERR_NOTIF_013WhatsAppMetaNotificationErrorWhatsApp delivery failure via Meta provider.lexigram-notification/src/lexigram/notification/backends/sms/whatsapp.pyTwilioNotificationError
LEX_ERR_NOTIF_014SlackNotificationErrorSlack notification delivery failure.lexigram-notification/src/lexigram/notification/backends/slack/slack_notifier.pyNotificationError
CodeClassDescriptionFileInherits From
LEX_ERR_QUEUE_002RedisQueueErrorRedis queue failure.lexigram-queue/src/lexigram/queue/exceptions.pyQueueError
LEX_ERR_QUEUE_003RabbitMQQueueErrorRabbitMQ queue failure.lexigram-queue/src/lexigram/queue/exceptions.pyQueueError
LEX_ERR_QUEUE_004KafkaQueueErrorKafka queue failure.lexigram-queue/src/lexigram/queue/exceptions.pyQueueError
LEX_ERR_QUEUE_005SQSQueueErrorSQS queue failure.lexigram-queue/src/lexigram/queue/exceptions.pyQueueError
LEX_ERR_QUEUE_006AzureServiceBusQueueErrorAzure Service Bus queue failure.lexigram-queue/src/lexigram/queue/exceptions.pyQueueError
LEX_ERR_QUEUE_007GCPPubSubQueueErrorGCP Pub/Sub queue failure.lexigram-queue/src/lexigram/queue/exceptions.pyQueueError
CodeClassDescriptionFileInherits From
LEX_ERR_IDEM_005IdempotencyBackendErrorRaised when a Redis or database backend connection fails. This exception is raised when the under…lexigram-resilience/src/lexigram/resilience/exceptions.pyIdempotencyError
LEX_ERR_IDEM_006IdempotencyConfigurationErrorRaised when the idempotency store is misconfigured. This exception is raised when required config…lexigram-resilience/src/lexigram/resilience/exceptions.pyIdempotencyError
LEX_ERR_RES_008RetryExhaustedErrorAll retry attempts exhausted.lexigram-resilience/src/lexigram/resilience/exceptions.pyRetryError
LEX_ERR_RES_009CircuitOpenErrorCircuit breaker is open.lexigram-resilience/src/lexigram/resilience/exceptions.pyCircuitBreakerError
LEX_ERR_RES_010BulkheadRejectedErrorBulkhead rejected due to capacity limits.lexigram-resilience/src/lexigram/resilience/exceptions.pyBulkheadError
LEX_ERR_RES_011ResilienceTimeoutErrorResilience operation timed out. Inherits from both ResilienceError and built-in TimeoutError so t…lexigram-resilience/src/lexigram/resilience/exceptions.pyResilienceError, TimeoutError
CodeClassDescriptionFileInherits From
LEX_ERR_SEARCH_001SearchErrorBase exception for search operations.lexigram-search/src/lexigram/search/exceptions.pyLexigramError
LEX_ERR_SEARCH_002IndexNotFoundErrorRaised when index is not found.lexigram-search/src/lexigram/search/exceptions.pyDomainError
LEX_ERR_SEARCH_003BackendErrorRaised when search backend encounters an error.lexigram-search/src/lexigram/search/exceptions.pyInfrastructureError
LEX_ERR_SEARCH_004SearchValidationErrorRaised when search query validation fails.lexigram-search/src/lexigram/search/exceptions.pySearchError
LEX_ERR_SEARCH_005TransformationErrorRaised when document transformation fails.lexigram-search/src/lexigram/search/exceptions.pySearchError
LEX_ERR_SEARCH_006CacheErrorRaised when search cache operation fails.lexigram-search/src/lexigram/search/exceptions.pySearchError
LEX_ERR_SEARCH_007QueryErrorRaised when search query execution fails.lexigram-search/src/lexigram/search/exceptions.pySearchError
LEX_ERR_SEARCH_008ConfigurationErrorRaised when search configuration is invalid.lexigram-search/src/lexigram/search/exceptions.pySearchError
LEX_ERR_SEARCH_009SearchIndexErrorRaised when search index operation fails.lexigram-search/src/lexigram/search/exceptions.pySearchError
LEX_ERR_SEARCH_010SchedulerErrorRaised when search scheduler operation fails.lexigram-search/src/lexigram/search/exceptions.pySearchError
CodeClassDescriptionFileInherits From
LEX_ERR_SQL_001DatabaseConnectionErrorBase for all connection-related failures. Attributes: host: The database host that was targeted. …lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_002ConnectionRefusedErrorServer actively refused the connection.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseConnectionError
LEX_ERR_SQL_003ConnectionTimeoutErrorConnection attempt timed out.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseConnectionError
LEX_ERR_SQL_004ConnectionPoolErrorConnection pool exhausted — no connections available within timeout.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseConnectionError
LEX_ERR_SQL_005QueryErrorBase for query execution failures. Attributes: sql: The SQL query that failed. params: The parame…lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_006QuerySyntaxErrorThe SQL query has a syntax error.lexigram-sql/src/lexigram/sql/exceptions.pyQueryError
LEX_ERR_SQL_007ParameterBindingErrorFailed to bind parameters to a query.lexigram-sql/src/lexigram/sql/exceptions.pyQueryError
LEX_ERR_SQL_008IntegrityErrorBase for constraint violation errors. Attributes: constraint: The constraint name that was violat…lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_009DuplicateKeyErrorUnique constraint or primary key violated.lexigram-sql/src/lexigram/sql/exceptions.pyIntegrityError
LEX_ERR_SQL_010ForeignKeyErrorForeign key constraint violated.lexigram-sql/src/lexigram/sql/exceptions.pyIntegrityError
LEX_ERR_SQL_011NotNullViolationErrorNOT NULL constraint violated. Attributes: column: The column that triggered the violation.lexigram-sql/src/lexigram/sql/exceptions.pyIntegrityError
LEX_ERR_SQL_012CheckConstraintErrorCHECK constraint violated.lexigram-sql/src/lexigram/sql/exceptions.pyIntegrityError
LEX_ERR_SQL_013TransactionErrorBase for transaction-related failures.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_014SerializationErrorSerialization failure (optimistic concurrency conflict).lexigram-sql/src/lexigram/sql/exceptions.pyTransactionError
LEX_ERR_SQL_015OptimisticLockErrorRaised when an optimistic lock check fails on UPDATE. Indicates a concurrent modification was det…lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_016TransactionRollbackErrorTransaction was rolled back (not by the application).lexigram-sql/src/lexigram/sql/exceptions.pyTransactionError
LEX_ERR_SQL_017LockErrorRaised when a database lock cannot be acquired.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_018DeadlockErrorDatabase deadlock detected. Inherits from :class:TransactionError because deadlocks are resolve…lexigram-sql/src/lexigram/sql/exceptions.pyTransactionError
LEX_ERR_SQL_019SchemaErrorBase for schema-related errors.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_020TableNotFoundErrorReferenced table does not exist.lexigram-sql/src/lexigram/sql/exceptions.pySchemaError
LEX_ERR_SQL_021ColumnNotFoundErrorReferenced column does not exist.lexigram-sql/src/lexigram/sql/exceptions.pySchemaError
LEX_ERR_SQL_022DatabaseTimeoutErrorDatabase operation timed out.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_023RepositoryErrorRepositoryProtocol-level operation failure.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_024UnitOfWorkErrorRaised when unit of work operation fails.lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_025DriverErrorWraps underlying database driver exceptions. Preserves the original exception as __cause__ an…lexigram-sql/src/lexigram/sql/exceptions.pyDatabaseError
LEX_ERR_SQL_026DataErrorBase exception for data access layer failures.lexigram-sql/src/lexigram/sql/exceptions.pyLexigramError
LEX_ERR_SQL_027DataQueryErrorRaised when a query cannot be built or compiled. Args: message: Explanation of the query error.lexigram-sql/src/lexigram/sql/exceptions.pyDataError
LEX_ERR_SQL_028PaginationErrorRaised when pagination parameters are invalid. Args: message: Explanation of the pagination error.lexigram-sql/src/lexigram/sql/exceptions.pyDataError
LEX_ERR_SQL_029EntityNotFoundErrorSignals that a required entity does not exist. RepositoryProtocol implementations that cannot fin…lexigram-sql/src/lexigram/sql/exceptions.pyDataError
LEX_ERR_SQL_030DataRepositoryErrorRaised when a repository operation fails unexpectedly. Args: message: Explanation of the reposito…lexigram-sql/src/lexigram/sql/exceptions.pyDataError
LEX_ERR_SQL_031CursorErrorRaised when a cursor cannot be encoded or decoded. Args: message: Explanation of the cursor error.lexigram-sql/src/lexigram/sql/exceptions.pyDataError
LEX_ERR_SQL_032MigrationDependencyErrorRaised when migration dependencies are not satisfied.lexigram-sql/src/lexigram/sql/migrations/base.pyMigrationError
LEX_ERR_SQL_033MigrationExecutionErrorRaised when migration execution fails.lexigram-sql/src/lexigram/sql/migrations/base.pyMigrationError
LEX_ERR_SQL_034MigrationNotFoundErrorRaised when a migration is not found.lexigram-sql/src/lexigram/sql/migrations/base.pyMigrationError
LEX_ERR_SQL_035MigrationValidationErrorRaised when migration validation fails.lexigram-sql/src/lexigram/sql/migrations/base.pyMigrationError
LEX_ERR_SQL_036ProtocolValidationErrorRaised when object doesn’t implement protocol.lexigram-sql/src/lexigram/sql/validation/protocols.pyConfigurationError
LEX_ERR_SQL_037MappingErrorException raised when entity mapping fails.lexigram-sql/src/lexigram/sql/mappers/base.pyCoreMappingError
CodeClassDescriptionFileInherits From
LEX_ERR_STORE_001StorageErrorBase exception for storage errors.lexigram-storage/src/lexigram/storage/exceptions.pyLexigramError
LEX_ERR_STORE_002StorageFileNotFoundErrorRaised when file is not found.lexigram-storage/src/lexigram/storage/exceptions.pyDomainError
LEX_ERR_STORE_003StorageUnsupportedOperationErrorRaised when the requested operation is not supported by the storage driver.lexigram-storage/src/lexigram/storage/exceptions.pyStorageError
LEX_ERR_STORE_004TransactionErrorRaised when a transaction operation fails.lexigram-storage/src/lexigram/storage/exceptions.pyStorageError
LEX_ERR_STORE_005QuotaExceededErrorRaised when a storage quota or size limit is exceeded.lexigram-storage/src/lexigram/storage/exceptions.pyStorageError
LEX_ERR_STORE_006InvalidPathErrorRaised when a path is invalid or attempts directory traversal.lexigram-storage/src/lexigram/storage/exceptions.pyStorageError
LEX_ERR_STORE_007StorageUnavailableErrorRaised when the storage backend is not reachable or unavailable.lexigram-storage/src/lexigram/storage/exceptions.pyStorageError
LEX_ERR_STORE_008ChecksumMismatchErrorRaised when a file’s checksum does not match the expected value.lexigram-storage/src/lexigram/storage/exceptions.pyStorageError
CodeClassDescriptionFileInherits From
LEX_ERR_TASK_002QueueFullErrorThe queue has reached its maximum capacity and cannot accept new tasks. The caller should back of…lexigram-tasks/src/lexigram/tasks/exceptions.pyTaskQueueError
LEX_ERR_TASK_003TaskErrorBase exception for all task-related errorslexigram-tasks/src/lexigram/tasks/exceptions.pyTaskQueueError
LEX_ERR_TASK_004TaskNotFoundErrorRaised when a task cannot be foundlexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_005TaskTimeoutErrorRaised when a task execution exceeds timeoutlexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_006TaskCancelledErrorRaised when a task is cancelledlexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_007TaskExecutionErrorRaised when a task execution failslexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_008TaskValidationErrorRaised when task parameters are invalidlexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_009DuplicateTaskErrorRaised when a duplicate task is detectedlexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_010TaskDependencyCycleErrorRaised at registration time when a dependency cycle is detected. The scheduler validates the depe…lexigram-tasks/src/lexigram/tasks/exceptions.pyTaskError
LEX_ERR_TASK_011TaskRegistrationErrorRaised when a scheduled or handler task fails to register.lexigram-tasks/src/lexigram/tasks/exceptions.pyLexigramError
CodeClassDescriptionFileInherits From
LEX_ERR_TEST_001TestingErrorBase exception for lexigram-testing operations.lexigram-testing/src/lexigram/testing/exceptions.pyLexigramError
LEX_ERR_TEST_002TokenBudgetExceededErrorRaised when an AITestClient operation would exceed the configured token budget. Prevents runaway …lexigram-testing/src/lexigram/testing/exceptions.pyTestingError
LEX_ERR_TEST_003MemoryBackendErrorBase exception for all memory backend errors.lexigram-testing/src/lexigram/testing/memory/exceptions.pyLexigramError
LEX_ERR_TEST_004CommandBusErrorRaised when a command bus operation fails.lexigram-testing/src/lexigram/testing/memory/exceptions.pyEventError
LEX_ERR_TEST_005CommandHandlerNotFoundErrorRaised when no handler is registered for a specific command type.lexigram-testing/src/lexigram/testing/memory/exceptions.pyCommandBusError, HandlerNotFoundError
LEX_ERR_TEST_006DuplicateHandlerErrorRaised when a handler is already registered for a command type.lexigram-testing/src/lexigram/testing/memory/exceptions.pyCommandBusError, ContractDuplicateHandlerError
LEX_ERR_TEST_007CommandErrorWraps a handler exception for Result-based command dispatch.lexigram-testing/src/lexigram/testing/memory/exceptions.pyCommandBusError
LEX_ERR_TEST_008QueryBusErrorRaised when a query bus operation fails.lexigram-testing/src/lexigram/testing/memory/exceptions.pyEventError
LEX_ERR_TEST_009QueryHandlerNotFoundErrorRaised when no handler is registered for a specific query type.lexigram-testing/src/lexigram/testing/memory/exceptions.pyQueryBusError, HandlerNotFoundError
LEX_ERR_TEST_010QueryDuplicateHandlerErrorRaised when a handler is already registered for a query type.lexigram-testing/src/lexigram/testing/memory/exceptions.pyQueryBusError, ContractDuplicateHandlerError
LEX_ERR_TEST_011ConfigurationErrorRaised when a require_stub module is loaded via configure() in test mode. This exception indicate…lexigram-testing/src/lexigram/testing/lib/stubs.pyException
LEX_ERR_TEST_012SnapshotMismatchErrorRaised when a value does not match the stored snapshot.lexigram-testing/src/lexigram/testing/lib/snapshots.pyAssertionError
CodeClassDescriptionFileInherits From
LEX_ERR_UI_001UIErrorBase exception for all UI-domain errors.lexigram-ui/src/lexigram/ui/exceptions.pyLexigramError
CodeClassDescriptionFileInherits From
LEX_ERR_VEC_005VectorErrorBase exception for all vector store operations.lexigram-vector/src/lexigram/vector/exceptions.pyInfrastructureError
LEX_ERR_VEC_006VectorConnectionErrorFailed to connect to the vector store.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_007CollectionNotFoundErrorRequested collection does not exist.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_008CollectionAlreadyExistsErrorAttempted to create a collection that already exists.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_009DimensionMismatchErrorVector dimensionality does not match the collection.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_010VectorConfigErrorInvalid vector store configuration.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_011FilterCompilationErrorFailed to compile a metadata filter for the target backend.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_012VectorUpsertErrorFailed to upsert vectors.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_013VectorSearchErrorFailed to execute similarity search.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_014VectorDeleteErrorFailed to delete vectors.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
LEX_ERR_VEC_015VectorTimeoutErrorVector store operation timed out.lexigram-vector/src/lexigram/vector/exceptions.pyVectorError
CodeClassDescriptionFileInherits From
LEX_ERR_WEB_003NotFoundError404 Not Found.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_004BadRequestError400 Bad Request.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_005UnauthorizedError401 Unauthorized.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_006ForbiddenError403 Forbidden.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_007MethodNotAllowedError405 Method Not Allowed.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_008ConflictError409 Conflict.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_009UnprocessableEntityError422 Unprocessable Entity.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_010InternalServerError500 Internal Server Error.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_011DependencyResolutionError500 Dependency Resolution Error.lexigram-web/src/lexigram/web/exceptions.pyInternalServerError
LEX_ERR_WEB_012RateLimitError429 Too Many Requests.lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_013TooManyConnectionsError503 Service Unavailable — connection limit reached. Raised when a streaming endpoint (e.g. SSE) h…lexigram-web/src/lexigram/web/exceptions.pyHTTPError
LEX_ERR_WEB_014HTTPErrorBase HTTP error, compatible with LexigramError.lexigram-web/src/lexigram/web/exceptions.pyLexigramError
CodeClassDescriptionFileInherits From
LEX_ERR_WEBHOOK_002SubscriptionNotFoundErrorRaised when a subscription ID is not found.lexigram-webhook/src/lexigram/webhook/exceptions.pyWebhookError
LEX_ERR_WEBHOOK_003SubscriptionInactiveErrorRaised when attempting to deliver to a deactivated subscription.lexigram-webhook/src/lexigram/webhook/exceptions.pyWebhookError
LEX_ERR_WEBHOOK_004InvalidWebhookURLErrorRaised when a subscription URL fails validation.lexigram-webhook/src/lexigram/webhook/exceptions.pyWebhookError
LEX_ERR_WEBHOOK_005DeliveryAttemptNotFoundErrorRaised when a delivery attempt ID is not found.lexigram-webhook/src/lexigram/webhook/exceptions.pyWebhookError
LEX_ERR_WEBHOOK_006SecretRotationErrorRaised when secret rotation fails.lexigram-webhook/src/lexigram/webhook/exceptions.pyWebhookError
CodeClassDescriptionFileInherits From
LEX_ERR_WF_003WorkflowErrorBase exception for workflow orchestration errors.lexigram-workflow/src/lexigram/workflow/exceptions.pyPipelineExecutionError
LEX_ERR_WF_004WorkflowNotFoundErrorRaised when a workflow definition cannot be found.lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_005WorkflowStateErrorRaised when a workflow is in an invalid state for the requested operation.lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_006WorkflowStepErrorRaised when a workflow step fails to execute.lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_007WorkflowTimeoutErrorRaised when a workflow or step exceeds its timeout.lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_008WorkflowCompensationErrorRaised when workflow compensation/rollback fails.lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_009SagaVersionMismatchErrorRaised when a persisted saga state version is incompatible with the current code. Args: saga_id: …lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_010WorkflowVersionMismatchErrorRaised when resuming a workflow instance with a mismatched definition version. Resuming an in-fli…lexigram-workflow/src/lexigram/workflow/exceptions.pyWorkflowError
LEX_ERR_WF_011GraphExecutionErrorBase exception for graph workflow engine operations. Args: message: Human-readable error descript…lexigram-workflow/src/lexigram/workflow/exceptions.pyLexigramError
LEX_ERR_WF_012NodeExecutionErrorA graph node’s execute() method failed. Args: message: Human-readable error description. node: Na…lexigram-workflow/src/lexigram/workflow/exceptions.pyGraphExecutionError
LEX_ERR_WF_013CycleDetectedErrorGraph engine exceeded max_iterations (likely cycle). Args: iterations: Number of iterations compl…lexigram-workflow/src/lexigram/workflow/exceptions.pyGraphExecutionError
LEX_ERR_WF_014GraphTimeoutErrorGraph workflow execution exceeded total timeout. Args: timeout: The configured timeout value in s…lexigram-workflow/src/lexigram/workflow/exceptions.pyGraphExecutionError
LEX_ERR_WF_015GraphValidationErrorGraph structure validation failed.lexigram-workflow/src/lexigram/workflow/exceptions.pyGraphExecutionError
LEX_ERR_WF_016HumanInputRequiredErrorRaised by HumanNode to pause execution awaiting human input. Args: prompt: Text/question to displ…lexigram-workflow/src/lexigram/workflow/exceptions.pyGraphExecutionError
LEX_ERR_WF_017StateErrorRaised when an invalid state transition is attempted. Attributes: event: The event that was not p…lexigram-workflow/src/lexigram/workflow/state/exceptions.pyLexigramError
LEX_ERR_WF_018StateConcurrencyErrorRaised when optimistic version checks fail during a transition.lexigram-workflow/src/lexigram/workflow/state/exceptions.pyStateError
LEX_ERR_WF_019SagaErrorRaised when a saga step fails after compensation has been attempted. Attributes: step_name: Name …lexigram-workflow/src/lexigram/workflow/saga/base.pyLexigramError
LEX_ERR_WF_020BulkOperationErrorBase exception for bulk operation errors.lexigram-workflow/src/lexigram/workflow/bulk/models.pyLexigramError
LEX_ERR_WF_021BulkOperationTimeoutErrorRaised when a bulk operation times out.lexigram-workflow/src/lexigram/workflow/bulk/models.pyBulkOperationError
LEX_ERR_WF_022BulkOperationCancelledErrorRaised when a bulk operation is cancelled.lexigram-workflow/src/lexigram/workflow/bulk/models.pyBulkOperationError

  • CORE: missing codes 003, 004
  • MEM: missing codes 004, 007
  • RAG: missing codes 007, 008, 009
  • RESULT: missing codes 001

These exception classes were found in src/ trees but their containing file has no _code assignment. They are candidates for registration.

Total: 11 classes across 8 packages

ClassInherits FromFile
ContributorDependencyErrorValueErrorlexigram-contracts/src/lexigram/contracts/admin/dependencies.py
HealthCheckNotFoundErrorlexigram-contracts/src/lexigram/contracts/admin/errors.py
WidgetNotFoundErrorlexigram-contracts/src/lexigram/contracts/admin/errors.py
ClassInherits FromFile
InferenceErrorDomainModellexigram-ai-llm/src/lexigram/ai/llm/routing/types.py
ClassInherits FromFile
PipelineErrorlexigram-ai-rag/src/lexigram/ai/rag/pipeline/types.py
ClassInherits FromFile
IngestionErrorlexigram-ai-workers/src/lexigram/ai/workers/adapters/rag_adapter.py
ClassInherits FromFile
LoadErrorlexigram-cli/src/lexigram/cli/contributors/runtime.py
ClassInherits FromFile
NoSecurityPolicyErrorExceptionlexigram-sql/src/lexigram/sql/row_level_security.py
ClassInherits FromFile
FileValidationErrorlexigram-web/src/lexigram/web/uploads/pipeline.py
RoomErrorlexigram-web/src/lexigram/web/websocket/rooms.py
ClassInherits FromFile
BulkItemErrorlexigram-workflow/src/lexigram/workflow/bulk/models.py

⚠️ Duplicate codes found:

  • LEX_ERR_NOTIF_011 appears 2 times:
    • WebPushNotificationError in lexigram-notification/src/lexigram/notification/exceptions.py
    • PermanentDeliveryFailure in lexigram-notification/src/lexigram/notification/delivery/exceptions.py
  • LEX_ERR_TASK_011 appears 2 times:
    • TaskRegistrationError in lexigram-tasks/src/lexigram/tasks/exceptions.py
    • WorkflowError in lexigram-tasks/src/lexigram/tasks/workflows/core.py

These packages have source files but no LEX_ERR_* codes registered.

Total: 2 packages

  • lexigram-ai-mcp
  • lexigram-tenancy

7. Suspicious Exception Classes (Potential Leftovers)

Section titled “7. Suspicious Exception Classes (Potential Leftovers)”

These classes have names suggestive of template/placeholder code and may be leftover scaffolding that was never cleaned up.

ClassFilePackage
WidgetNotFoundErrorlexigram-contracts/src/lexigram/contracts/admin/errors.pylexigram-contracts

Complete alphabetical listing of all codes grouped by domain tag.

CodeClassDescriptionPackage
LEX_ERR_ADMIN_001AdminErrorBase exception for all admin-domain errors. Extended by leaf exceptions in le…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_AGT_001AgentErrorBase exception for all agent errors.lexigram-contracts
LEX_ERR_AGT_002ToolErrorBase exception for tool errors.lexigram-contracts
LEX_ERR_AGT_003StrategyErrorReasoning strategy failed. Raised when the agent’s strategy encounters an err…lexigram-contracts
LEX_ERR_AGT_004AgentConfigurationErrorInvalid agent configuration. Raised when an agent is constructed with invalid…lexigram-ai-agents
LEX_ERR_AGT_005AgentExecutionErrorAgent execution failed. Raised when the agent’s reasoning loop encounters an …lexigram-ai-agents
LEX_ERR_AGT_006ToolNotFoundErrorTool not found in registry. Raised when the agent tries to call a tool that i…lexigram-ai-agents
LEX_ERR_AGT_007ToolExecutionErrorTool execution failed. Raised when a tool raises an exception during execution.lexigram-ai-agents
LEX_ERR_AGT_008ToolAccessDeniedErrorAgent does not have access to this tool. Raised when module visibility contro…lexigram-ai-agents
LEX_ERR_AGT_009MaxIterationsExceededErrorAgent exceeded maximum reasoning iterations. Raised when the agent reaches ma…lexigram-ai-agents
LEX_ERR_AGT_010BudgetExceededErrorAgent exceeded its AI governance budget. Raised when token usage or cost exce…lexigram-ai-agents
LEX_ERR_AGT_011ToolValidationErrorTool input validation failed. Raised when the arguments provided to a tool fa…lexigram-ai-agents
CodeClassDescriptionPackage
LEX_ERR_AI_001AIErrorBase exception for all AI-domain errors. This is the catch-all for AI operati…lexigram-contracts
LEX_ERR_AI_002ExtractionErrorBase for structured extraction errors. Used in “StructuredExtractorProtocol…lexigram-contracts
LEX_ERR_AI_003MetricsCollectionErrorError raised during metrics collection.lexigram-contracts
LEX_ERR_AI_004TracingErrorError raised during tracing operations.lexigram-contracts
LEX_ERR_AI_005AIErrorBase exception for lexigram-ai.lexigram-ai
CodeClassDescriptionPackage
LEX_ERR_AIWORK_001WorkerErrorBase exception for all worker-related errors.lexigram-ai-workers
LEX_ERR_AIWORK_002DLQErrorRaised when a Dead Letter Queue operation fails.lexigram-ai-workers
LEX_ERR_AIWORK_003MaintenanceErrorRaised when a maintenance task operation fails.lexigram-ai-workers
CodeClassDescriptionPackage
LEX_ERR_APP_001AppErrorBase exception for all app errors.lexigram
LEX_ERR_APP_002AppStartupErrorRaised when the application fails to start or a provider fails during boot.lexigram
LEX_ERR_APP_003AppShutdownErrorRaised when the application cannot complete a graceful shutdown.lexigram
CodeClassDescriptionPackage
LEX_ERR_AUDIT_001AuditErrorBase exception for all audit-domain errors.lexigram-audit
LEX_ERR_AUDIT_002AuditStoreErrorRaised when the audit store fails to persist or query entries.lexigram-audit
LEX_ERR_AUDIT_003AuditVerificationErrorRaised when audit trail verification encounters an unexpected failure.lexigram-audit
LEX_ERR_AUDIT_004AuditRetentionErrorRaised when a retention purge fails.lexigram-audit
CodeClassDescriptionPackage
LEX_ERR_AUTH_001AuthErrorBase exception for all auth-domain errors. This is the catch-all for authenti…lexigram-contracts
LEX_ERR_AUTH_002TokenErrorBase class for expected, recoverable token domain failures. All subtypes indi…lexigram-contracts
LEX_ERR_AUTH_003VerificationErrorBase class for expected, recoverable account-verification failures. All subty…lexigram-contracts
LEX_ERR_AUTH_004AuthErrorBase exception for all auth errors.lexigram-auth
LEX_ERR_AUTH_005AuthenticationErrorRaised when authentication fails.lexigram-auth
LEX_ERR_AUTH_006AuthorizationErrorRaised when user lacks required permissions.lexigram-auth
LEX_ERR_AUTH_007InvalidCredentialsErrorRaised when credentials are invalid.lexigram-auth
LEX_ERR_AUTH_008AccountLockedErrorRaised when an account is locked due to too many failed login attempts. Accou…lexigram-auth
LEX_ERR_AUTH_009UserNotFoundErrorRaised when user is not found.lexigram-auth
LEX_ERR_AUTH_010TokenErrorBase exception for token-related errors.lexigram-auth
LEX_ERR_AUTH_011InvalidTokenErrorRaised when a token is malformed or invalid.lexigram-auth
LEX_ERR_AUTH_012TokenExpiredErrorRaised when a token has expired.lexigram-auth
LEX_ERR_AUTH_013TokenBlacklistedErrorToken has been explicitly revoked.lexigram-auth
LEX_ERR_AUTH_014TokenInvalidErrorToken is structurally invalid or has wrong type.lexigram-auth
LEX_ERR_AUTH_015TokenAudienceErrorToken audience claim does not match expected.lexigram-auth
LEX_ERR_AUTH_016TokenNotFoundErrorToken record does not exist.lexigram-auth
LEX_ERR_AUTH_017InvalidAudienceErrorRaised when a token audience is invalid.lexigram-auth
LEX_ERR_AUTH_018InvalidScopeErrorRaised when a token lacks required scope.lexigram-auth
LEX_ERR_AUTH_019BlacklistedTokenErrorRaised when a token has been blacklisted.lexigram-auth
LEX_ERR_AUTH_020TokenExpiredVerificationErrorAccount verification has expired.lexigram-auth
LEX_ERR_AUTH_021AlreadyVerifiedErrorAccount is already verified.lexigram-auth
LEX_ERR_AUTH_022EmailExistsErrorRaised when email is already taken.lexigram-auth
LEX_ERR_AUTH_023UsernameExistsErrorRaised when username is already taken.lexigram-auth
LEX_ERR_AUTH_024PasswordPolicyErrorRaised when password doesn’t meet requirements.lexigram-auth
LEX_ERR_AUTH_025OAuth2ErrorBase exception for OAuth2 errors.lexigram-auth
LEX_ERR_AUTH_026SessionNotFoundErrorRaised when a session cannot be found in the store.lexigram-auth
LEX_ERR_AUTH_027AccountVerificationErrorError during account verification operations.lexigram-auth
LEX_ERR_AUTH_028PasswordResetTokenErrorError during password reset token operations.lexigram-auth
CodeClassDescriptionPackage
LEX_ERR_CACHE_001CacheErrorBase exception for all cache-domain errors. This is an expected, recoverable …lexigram-contracts
LEX_ERR_CACHE_002CacheKeyNotFoundErrorRaised when cache key is not found.lexigram-contracts
LEX_ERR_CACHE_003CacheWriteErrorRaised when cache write fails.lexigram-contracts
LEX_ERR_CACHE_004CacheErrorBase exception for cache errors.lexigram-cache
LEX_ERR_CACHE_005CacheBackendErrorRaised when the cache backend (Redis/Memcached) fails.lexigram-cache
LEX_ERR_CACHE_006CacheConnectionErrorRaised when the cache connection fails.lexigram-cache
LEX_ERR_CACHE_007CacheTimeoutErrorRaised when a cache operation times out.lexigram-cache
LEX_ERR_CACHE_008CacheKeyErrorRaised when a cache key is invalid or for key-specific errors.lexigram-cache
LEX_ERR_CACHE_009CacheConfigurationErrorRaised when cache configuration is invalid.lexigram-cache
LEX_ERR_CACHE_010CacheStampedeErrorRaised when cache stampede protection fails.lexigram-cache
LEX_ERR_CACHE_011CacheInvalidationErrorRaised when cache invalidation fails.lexigram-cache
LEX_ERR_CACHE_012LockAcquisitionErrorRaised when a distributed lock cannot be acquired.lexigram-cache
LEX_ERR_CACHE_013CacheSerializationErrorRaised when serialization/deserialization fails.lexigram-cache
LEX_ERR_CACHE_014CacheCapacityErrorRaised when the cache is at capacity.lexigram-cache
LEX_ERR_CACHE_015CacheSerializationErrorRaised when cache serialization or deserialization fails. This is a cache-spe…lexigram-cache
CodeClassDescriptionPackage
LEX_ERR_CFG_001ConfigurationErrorDeveloper configuration or runtime misconfiguration errors. Supports optional…lexigram-contracts
LEX_ERR_CFG_002ConfigurationErrorConfiguration loading, parsing, or validation failed. Raised by: - “ConfigPr…lexigram
LEX_ERR_CFG_003ConfigSourceErrorRaised when a configuration source fails to load its values.lexigram
LEX_ERR_CFG_004ConfigReloadErrorRaised when a live-reload attempt fails.lexigram
LEX_ERR_CFG_005ConfigSectionNotFoundErrorRaised when a required config section is absent from the loaded config.lexigram
CodeClassDescriptionPackage
LEX_ERR_CLI_001CliErrorBase exception for lexigram-cli operations.lexigram-cli
LEX_ERR_CLI_002ConfigNotFoundErrorRaised when application.yaml configuration file is not found.lexigram-cli
LEX_ERR_CLI_003ProviderNotInstalledErrorRaised when a required provider package is not installed.lexigram-cli
CodeClassDescriptionPackage
LEX_ERR_CONC_001ConcurrencyErrorBase exception for all concurrency errors.lexigram
LEX_ERR_CONC_002AsyncErrorException raised for errors in asynchronous operations or concurrency control.lexigram
LEX_ERR_CONC_003ChannelClosedErrorRaised when an operation is attempted on a closed channel.lexigram
LEX_ERR_CONC_004ChannelFullErrorRaised when sending to a channel that is at capacity.lexigram
LEX_ERR_CONC_005DispatcherErrorError in dispatcher execution.lexigram
LEX_ERR_CONC_006StructuredParallelismErrorBase exception for parallel execution errors.lexigram
LEX_ERR_CONC_007TaskGroupErrorRaised when a task group encounters an error.lexigram
LEX_ERR_CONC_008CancellationScopeErrorRaised when a cancellation scope encounters an error.lexigram
CodeClassDescriptionPackage
LEX_ERR_CORE_001LexigramErrorRoot exception for the entire Lexigram ecosystem. All Lexigram exceptions inh…lexigram-contracts
LEX_ERR_CORE_002LexigramExceptionBase exception for all lexigram domain errors. Extends :class:`~lexigram.cont…lexigram
LEX_ERR_CORE_005CoreErrorBase exception for all core errors.lexigram
CodeClassDescriptionPackage
LEX_ERR_DB_001DatabaseErrorDatabase-related error (infrastructure-level).lexigram-contracts
LEX_ERR_DB_002MigrationErrorDatabase migration error.lexigram-contracts
LEX_ERR_DB_003IntegrityErrorRaised when a database integrity constraint is violated.lexigram-contracts
LEX_ERR_DB_004ConstraintErrorRaised when a generic database constraint is violated.lexigram-contracts
LEX_ERR_DB_005DuplicateKeyErrorRaised when a unique-key constraint is violated (duplicate record).lexigram-contracts
LEX_ERR_DB_006UnitOfWorkErrorRaised when a unit-of-work operation fails or is used incorrectly.lexigram-contracts
LEX_ERR_DB_007DataErrorBase exception for all data-domain errors. This is an expected, recoverable e…lexigram-contracts
LEX_ERR_DB_008DataNotFoundErrorRaised when data item is not found.lexigram-contracts
LEX_ERR_DB_009DataValidationErrorRaised when data validation fails.lexigram-contracts
LEX_ERR_DB_010InvalidIdentifierErrorRaised when an SQL identifier fails validation. Attributes: identifier: The o…lexigram-contracts
LEX_ERR_DB_011NoPrimaryBackendErrorRaised when a multi-backend setup has no backend marked as primary. For multi…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_DI_001ContainerErrorBase container error.lexigram-contracts
LEX_ERR_DI_002DependencyErrorDependency resolution error.lexigram-contracts
LEX_ERR_DI_003CircularDependencyErrorCircular dependency detected.lexigram-contracts
LEX_ERR_DI_004UnresolvableDependencyErrorCannot resolve dependency.lexigram-contracts
LEX_ERR_DI_005RegistrationErrorService registration error.lexigram-contracts
LEX_ERR_DI_006ContainerBuildErrorContainer build/configuration error.lexigram-contracts
LEX_ERR_DI_007ProtocolValidationErrorProtocol validation error.lexigram-contracts
LEX_ERR_DI_008ContainerValidationErrorContainer dependency graph validation failed before boot. Raised when “Conta…lexigram-contracts
LEX_ERR_DI_009ScopedResolutionErrorAttempted to resolve a scoped service outside of an active scope. Raised when…lexigram-contracts
LEX_ERR_DI_010InjectionErrorDependency injection or container resolution failed. Raised by: - “Container…lexigram
LEX_ERR_DI_011InterceptorTimeoutErrorRaised when a MethodInterceptorProtocol exceeds its configured timeout.lexigram
CodeClassDescriptionPackage
LEX_ERR_DOM_001DomainErrorBusiness/domain-level errors (validation failures, not found, auth).lexigram-contracts
LEX_ERR_DOM_002NotFoundErrorResource not found error (domain-level).lexigram-contracts
LEX_ERR_DOM_003PermissionDeniedErrorPermission denied error (domain-level).lexigram-contracts
LEX_ERR_DOM_004AuthenticationErrorAuthentication error (domain-level).lexigram-contracts
LEX_ERR_DOM_005AuthorizationErrorAuthorization/permission error (domain-level).lexigram-contracts
LEX_ERR_DOM_006RateLimitErrorRate limiting error.lexigram-contracts
LEX_ERR_DOM_007ConflictErrorResource conflict error.lexigram-contracts
LEX_ERR_DOM_008DomainModelErrorDomain model invariant violated or business rule broken. Raised by: - Domain …lexigram
LEX_ERR_DOM_009PolicyViolationErrorRaised when a domain policy evaluation fails. Distinct from “PolicyViolation…lexigram
CodeClassDescriptionPackage
LEX_ERR_EVAL_001EvaluationErrorBase for evaluation system errors. Extended in the AI evaluation layer with s…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_EVT_001EventErrorBase events/messaging error.lexigram-contracts
LEX_ERR_EVT_002HandlerNotFoundErrorEvent/command handler not found. Raised when no handler is registered for a s…lexigram-contracts
LEX_ERR_EVT_003DuplicateHandlerErrorDuplicate handler registration. Raised when attempting to register a handler …lexigram-contracts
LEX_ERR_EVT_004ConcurrencyErrorConcurrency/optimistic locking error. Raised when event version conflicts ind…lexigram-events
LEX_ERR_EVT_005CommandExecutionErrorCommand execution error.lexigram-events
LEX_ERR_EVT_006QueryExecutionErrorQuery execution error.lexigram-events
LEX_ERR_EVT_007StreamNotFoundErrorRaised when stream is not found. Parameters mirror the helper used in tests: …lexigram-events
LEX_ERR_EVT_008EventHandlerErrorRaised when event handling fails.lexigram-events
LEX_ERR_EVT_009AggregateNotFoundErrorRaised when aggregate is not found.lexigram-events
LEX_ERR_EVT_010AdapterConnectionErrorRaised when adapter connection fails.lexigram-events
LEX_ERR_EVT_011EventLoadErrorRaised when event loading fails.lexigram-events
LEX_ERR_EVT_012EventPersistenceErrorRaised when event persistence fails.lexigram-events
LEX_ERR_EVT_013EventStoreErrorRaised for event store errors.lexigram-events
LEX_ERR_EVT_014EventStoreConnectionErrorRaised when event store connection fails.lexigram-events
LEX_ERR_EVT_015ProjectionBuildErrorRaised when projection building fails.lexigram-events
LEX_ERR_EVT_016ProjectionRebuildErrorRaised when projection rebuilding fails (alias for collection stability).lexigram-events
LEX_ERR_EVT_017ProjectionNotFoundErrorRaised when a projection is not found.lexigram-events
LEX_ERR_EVT_018WebhookDeliveryErrorRaised when an outbound webhook delivery fails after all retry attempts. Carr…lexigram-events
LEX_ERR_EVT_019SchemaErrorRaised for schema-related errors.lexigram-events
LEX_ERR_EVT_020SecurityErrorRaised for security-related errors.lexigram-events
LEX_ERR_EVT_021StreamingErrorRaised for streaming-related errors.lexigram-events
LEX_ERR_EVT_022SchemaIncompatibleErrorRaised when a schema is not compatible with previous version.lexigram-events
LEX_ERR_EVT_023SchemaNotFoundErrorRaised when a schema is not found.lexigram-events
CodeClassDescriptionPackage
LEX_ERR_FEAT_001FeatureFlagErrorBase error for the feature flag subsystem.lexigram-contracts
LEX_ERR_FEAT_002FlagNotFoundErrorRaised when a requested feature flag does not exist in any provider. Attribut…lexigram-features
LEX_ERR_FEAT_003FlagEvaluationErrorRaised when a flag provider fails during evaluation. Attributes: flag_key: Th…lexigram-features
LEX_ERR_FEAT_004FeatureFlagDisabledErrorRaised when a feature-guarded path is called with the flag disabled.lexigram-features
CodeClassDescriptionPackage
LEX_ERR_FEED_001FeedbackErrorBase exception for all feedback-related errors.lexigram-ai-feedback
LEX_ERR_FEED_002FeedbackProcessingErrorRaised when a feedback processor fails.lexigram-ai-feedback
LEX_ERR_FEED_003FeedbackValidationErrorRaised when feedback data fails validation.lexigram-ai-feedback
CodeClassDescriptionPackage
LEX_ERR_GOV_001GovernanceErrorBase class for governance-related errors.lexigram-contracts
LEX_ERR_GOV_002BudgetExceededErrorError raised when budget is exceeded.lexigram-contracts
LEX_ERR_GOV_003PolicyViolationErrorError raised when policy is violated.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_GQL_001GraphQLErrorBase exception for all GraphQL errors.lexigram-graphql
LEX_ERR_GQL_002ExecutionErrorRaised when execution fails.lexigram-graphql
LEX_ERR_GQL_003GraphQLTimeoutErrorRaised when execution times out.lexigram-graphql
LEX_ERR_GQL_004QueryTooDeepErrorRaised when a GraphQL query exceeds the maximum depth.lexigram-graphql
LEX_ERR_GQL_005InputGraphQLErrorRaised for invalid user input.lexigram-graphql
LEX_ERR_GQL_006ParseErrorRaised when query parsing fails.lexigram-graphql
LEX_ERR_GQL_007QueryTooComplexErrorRaised when query exceeds complexity limit.lexigram-graphql
LEX_ERR_GQL_008ResolverErrorRaised when a resolver fails.lexigram-graphql
LEX_ERR_GQL_009AuthenticationErrorRaised when authentication is required but missing. Also satisfies “lexigram…lexigram-graphql
LEX_ERR_GQL_010AuthorizationErrorRaised when user is authenticated but lacks permissions. Also satisfies “lex…lexigram-graphql
LEX_ERR_GQL_011ForbiddenErrorRaised when access is forbidden.lexigram-graphql
LEX_ERR_GQL_012NotFoundErrorRaised when a requested resource is not found.lexigram-graphql
LEX_ERR_GQL_013RateLimitErrorRaised when rate limit is exceeded.lexigram-graphql
LEX_ERR_GQL_014SubscriptionErrorRaised for subscription-related errors.lexigram-graphql
LEX_ERR_GQL_015GraphQLConnectionErrorRaised when a network connection error occurs during GraphQL execution.lexigram-graphql
CodeClassDescriptionPackage
LEX_ERR_GRAPH_001GraphErrorBase exception for all graph store operations.lexigram-graph
LEX_ERR_GRAPH_002GraphConnectionErrorFailed to connect to the graph store.lexigram-graph
LEX_ERR_GRAPH_003GraphNotFoundErrorRequested graph database does not exist.lexigram-graph
LEX_ERR_GRAPH_004GraphAlreadyExistsErrorAttempted to create a graph that already exists.lexigram-graph
LEX_ERR_GRAPH_005GraphNodeNotFoundErrorReferenced node does not exist.lexigram-graph
LEX_ERR_GRAPH_006GraphEdgeNotFoundErrorReferenced edge does not exist.lexigram-graph
LEX_ERR_GRAPH_007DetachRequiredErrorNode has edges and detach=False was specified.lexigram-graph
LEX_ERR_GRAPH_008TraversalErrorTraversal query failed.lexigram-graph
LEX_ERR_GRAPH_009CypherCompilationErrorFailed to compile a traversal query to Cypher.lexigram-graph
LEX_ERR_GRAPH_010GraphSchemaErrorSchema operation (index, constraint) failed.lexigram-graph
LEX_ERR_GRAPH_011GraphTransactionErrorGraph transaction failed.lexigram-graph
LEX_ERR_GRAPH_012GraphQueryErrorRaw query execution failed.lexigram-graph
CodeClassDescriptionPackage
LEX_ERR_GUARD_001GuardErrorBase for AI guard/policy enforcement errors. Extended in the AI guard layer w…lexigram-contracts
LEX_ERR_GUARD_002InputGuardErrorError raised during input guard validation.lexigram-contracts
LEX_ERR_GUARD_003OutputGuardErrorError raised during output guard validation.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_HTTP_001HTTPClientErrorBase exception for all HTTP client errors.lexigram-http
LEX_ERR_HTTP_002HTTPConnectionErrorRaised when a connection to a remote host fails.lexigram-http
LEX_ERR_HTTP_003HTTPTimeoutErrorRaised when a connection or request times out.lexigram-http
LEX_ERR_HTTP_004HTTPInterceptorErrorRaised when a request/response interceptor fails.lexigram-http
LEX_ERR_HTTP_005HTTPCircuitOpenErrorRaised when the circuit breaker is open and requests are rejected.lexigram-http
LEX_ERR_HTTP_006HTTPRetryExhaustedErrorRaised when all retry attempts for a request have been exhausted.lexigram-http
LEX_ERR_HTTP_007HTTPStatusErrorRaised (or returned as an Err) when the server responds with 4xx/5xx. Callers…lexigram-http
CodeClassDescriptionPackage
LEX_ERR_IDEM_001IdempotencyErrorBase exception for idempotency flows.lexigram-contracts
LEX_ERR_IDEM_002DuplicateRequestErrorRaised when an idempotent key is reused before completion.lexigram-contracts
LEX_ERR_IDEM_003IdempotencyStoreErrorRaised on unexpected failures inside the idempotency store.lexigram-contracts
LEX_ERR_IDEM_004IdempotencyConflictErrorRaised when an idempotency key is already claimed (PENDING).lexigram-contracts
LEX_ERR_IDEM_005IdempotencyBackendErrorRaised when a Redis or database backend connection fails. This exception is r…lexigram-resilience
LEX_ERR_IDEM_006IdempotencyConfigurationErrorRaised when the idempotency store is misconfigured. This exception is raised …lexigram-resilience
CodeClassDescriptionPackage
LEX_ERR_IDX_001IndexErrorRaised when index operations fail in an expected, recoverable way.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_INFRA_001InfrastructureErrorSystem-level failures (DB down, network timeouts).lexigram-contracts
LEX_ERR_INFRA_002LockErrorDistributed lock error.lexigram-contracts
LEX_ERR_INFRA_003LockConflictErrorRaised when a lock conflict occurs (resource already locked).lexigram-contracts
LEX_ERR_INFRA_004ComponentErrorBase exception for all component-related errors.lexigram-contracts
LEX_ERR_INFRA_005ComponentConnectionErrorRaised when a connection to an external service fails.lexigram-contracts
LEX_ERR_INFRA_006KeyNotFoundErrorRaised when a requested key does not exist.lexigram-contracts
LEX_ERR_INFRA_007KeyExistsErrorRaised when trying to create a key that already exists.lexigram-contracts
LEX_ERR_INFRA_008PubSubErrorBase exception for pub/sub operations.lexigram-contracts
LEX_ERR_INFRA_009SecretNotFoundErrorRaised when a requested secret does not exist.lexigram-contracts
LEX_ERR_INFRA_010DriverNotAvailableErrorRaised when a driver is not available (dependency not installed).lexigram-contracts
LEX_ERR_INFRA_011_StoredStreamErrorInternal carrier for propagating typed stream failures.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_LLM_001LLMErrorBase for LLM client errors. Extended in lexigram-ai-llm with specific failure…lexigram-contracts
LEX_ERR_LLM_002LLMErrorBase exception for all LLM-domain errors in lexigram-ai-llm.lexigram-ai-llm
LEX_ERR_LLM_003LLMAuthenticationErrorInvalid API key or credentials — infrastructure error, raised not wrapped. Ra…lexigram-ai-llm
LEX_ERR_LLM_004InvalidRequestErrorError raised when a request to an LLM provider is invalid.lexigram-ai-llm
LEX_ERR_LLM_005ModelNotFoundErrorModel unavailable or not found — recoverable via fallback routing.lexigram-ai-llm
LEX_ERR_LLM_006LLMModelNotFoundErrorModel unavailable or not found — recoverable via fallback routing. Returned a…lexigram-ai-llm
LEX_ERR_LLM_007LLMRateLimitErrorRate limit exceeded — recoverable via backoff/retry. Returned as Err from…lexigram-ai-llm
LEX_ERR_LLM_008LLMQuotaExceededErrorAPI quota or billing limit exceeded — recoverable by routing elsewhere. Retur…lexigram-ai-llm
LEX_ERR_LLM_009LLMContentFilterErrorContent blocked by provider safety filter — recoverable via reformulation. Re…lexigram-ai-llm
LEX_ERR_LLM_010TokenLimitErrorError raised when the token limit for a request is exceeded.lexigram-ai-llm
LEX_ERR_LLM_011ProviderConnectionErrorError raised when connection to an LLM provider fails.lexigram-ai-llm
LEX_ERR_LLM_012StreamErrorError raised during LLM response streaming.lexigram-ai-llm
LEX_ERR_LLM_013ExtractionErrorBase class for structured extraction errors in lexigram-ai-llm.lexigram-ai-llm
LEX_ERR_LLM_014ExtractionParseErrorError raised when extraction response cannot be parsed as JSON.lexigram-ai-llm
LEX_ERR_LLM_015ExtractionValidationErrorError raised when parsed extraction response fails schema validation.lexigram-ai-llm
LEX_ERR_LLM_016ExtractionMaxRetriesErrorError raised when extraction max retries are exhausted.lexigram-ai-llm
LEX_ERR_LLM_017StructuredOutputErrorBase exception for structured output errors.lexigram-ai-llm
LEX_ERR_LLM_018ParseErrorRaised when response cannot be parsed.lexigram-ai-llm
LEX_ERR_LLM_019SchemaValidationErrorRaised when parsed response fails validation.lexigram-ai-llm
LEX_ERR_LLM_020ModelManagerErrorBase exception for model manager errors.lexigram-ai-llm
LEX_ERR_LLM_021ModelNotFoundErrorRaised when a requested model is not found.lexigram-ai-llm
LEX_ERR_LLM_022ModelLoadErrorRaised when a model fails to load.lexigram-ai-llm
LEX_ERR_LLM_023ModelUnloadErrorRaised when a model fails to unload.lexigram-ai-llm
LEX_ERR_LLM_024ProviderConnectionErrorRaised when connection to provider fails.lexigram-ai-llm
LEX_ERR_LLM_025OrchestratorErrorBase orchestration error.lexigram-ai-llm
LEX_ERR_LLM_026NoSuitableModelErrorNo model found that meets the requirements.lexigram-ai-llm
CodeClassDescriptionPackage
LEX_ERR_LOAD_001LoaderErrorRaised when document loading fails in an expected, recoverable way. Extended …lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_LOCK_001LockAcquisitionErrorRaised when acquiring a lock fails.lexigram-contracts
LEX_ERR_LOCK_002LockNotHeldErrorRaised when trying to operate on a lock that is not held.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_MAP_001MappingErrorObject mapping error.lexigram-contracts
LEX_ERR_MAP_002MappingErrorBase exception for all object-mapping errors.lexigram
LEX_ERR_MAP_003MappingNotFoundErrorRaised when no mapper is registered for a (source, destination) type pair.lexigram
LEX_ERR_MAP_004MappingExecutionErrorRaised when a registered mapper raises an unexpected error during execution.lexigram
CodeClassDescriptionPackage
LEX_ERR_MCP_001MCPErrorBase exception for all MCP errors.lexigram-contracts
LEX_ERR_MCP_002MCPTransportErrorTransport-level error (connection, I/O). Raised when the MCP transport layer …lexigram-contracts
LEX_ERR_MCP_003MCPToolCallErrorTool call failed during MCP execution. Raised when a tool invocation fails, e…lexigram-contracts
LEX_ERR_MCP_004MCPResourceErrorResource read or list failed. Raised when a resource operation fails, such as…lexigram-contracts
LEX_ERR_MCP_005MCPProtocolErrorProtocol violation (malformed message, invalid state). Raised when an MCP mes…lexigram-contracts
LEX_ERR_MCP_006MCPMethodNotFoundErrorUnknown MCP method requested by client. Raised when the client requests an MC…lexigram-contracts
LEX_ERR_MCP_007MCPPromptErrorPrompt retrieval or list failed. Raised when a prompt operation fails, such a…lexigram-contracts
LEX_ERR_MCP_008MCPInitializationErrorMCP server initialization failed. Raised when the MCP server cannot be initia…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_MEM_001AIMemoryErrorBase for AI memory system errors. Extended in lexigram-ai-memory with specifi…lexigram-contracts
LEX_ERR_MEM_002ConsolidationErrorError raised during memory consolidation.lexigram-contracts
LEX_ERR_MEM_003StorageErrorError raised during memory storage operations.lexigram-contracts
LEX_ERR_MEM_005MemorySystemErrorBase exception for memory operations.lexigram-ai-memory
LEX_ERR_MEM_006MemoryStoreErrorRaised when a backend store operation fails.lexigram-ai-memory
LEX_ERR_MEM_008MemoryCapacityErrorRaised when a memory store is at capacity and cannot accept new entries.lexigram-ai-memory
LEX_ERR_MEM_009EmbeddingErrorRaised when generating or storing an embedding fails.lexigram-ai-memory
LEX_ERR_MEM_010FactExtractionErrorRaised when entity/fact extraction from text fails.lexigram-ai-memory
CodeClassDescriptionPackage
LEX_ERR_MOD_001ModuleErrorModule configuration or lifecycle error.lexigram-contracts
LEX_ERR_MOD_002ModuleImportErrorA module imports a module that does not exist in the graph. Raised during mod…lexigram-contracts
LEX_ERR_MOD_003ModuleExportErrorA module exports a type not provided by its providers. Raised during post-reg…lexigram-contracts
LEX_ERR_MOD_004ModuleCycleErrorCircular dependency detected in the module import graph. Raised during module…lexigram-contracts
LEX_ERR_MOD_005ModuleVisibilityErrorA provider depends on a service not visible to its module. Raised when a prov…lexigram-contracts
LEX_ERR_MOD_006ModuleDuplicateErrorThe same module appears twice with conflicting configurations. Raised when tw…lexigram-contracts
LEX_ERR_MOD_007ModuleErrorModule system error (registration, visibility, exports). Raised by: - Module …lexigram
CodeClassDescriptionPackage
LEX_ERR_MONITOR_001MonitorErrorBase exception for monitoring errors.lexigram-monitor
LEX_ERR_MONITOR_002BackendNotAvailableErrorRaised when a required monitoring backend is not available.lexigram-monitor
LEX_ERR_MONITOR_003MetricNotFoundErrorRaised when a requested metric is not found.lexigram-monitor
LEX_ERR_MONITOR_004InvalidMetricErrorRaised when metric parameters are invalid.lexigram-monitor
LEX_ERR_MONITOR_005SpanErrorBase exception for span-related errors.lexigram-monitor
LEX_ERR_MONITOR_006SpanNotFoundErrorRaised when a requested span is not found.lexigram-monitor
LEX_ERR_MONITOR_007MonitorConfigurationErrorRaised when monitoring configuration is invalid.lexigram-monitor
LEX_ERR_MONITOR_008PerformanceMonitorErrorBase exception for performance monitoring errors.lexigram-monitor
CodeClassDescriptionPackage
LEX_ERR_MW_001MiddlewareGuardErrorRaised when a middleware guard denies access.lexigram-contracts
LEX_ERR_MW_002MiddlewareErrorBase exception for infrastructure-level middleware errors.lexigram
LEX_ERR_MW_003MiddlewarePolicyErrorBase exception for policy-level middleware rejections. Raised when middleware…lexigram
LEX_ERR_MW_004MiddlewareExecutionErrorRaised when a middleware raises an unexpected error during execution.lexigram
LEX_ERR_MW_005MiddlewareConfigurationErrorRaised when middleware is configured incorrectly.lexigram
LEX_ERR_MW_006MiddlewareChainErrorRaised when the middleware chain cannot be assembled or traversed.lexigram
LEX_ERR_MW_007MiddlewareTimeoutErrorRaised when a middleware exceeds its configured timeout.lexigram
LEX_ERR_MW_008MiddlewareAuthErrorRaised when middleware-level authentication/authorization fails.lexigram
LEX_ERR_MW_009MiddlewareRateLimitErrorRaised when middleware-level rate limiting is exceeded.lexigram
LEX_ERR_MW_010MiddlewareCircuitOpenErrorRaised when the circuit breaker in middleware is open.lexigram
CodeClassDescriptionPackage
LEX_ERR_NOSQL_001NoSQLErrorBase exception for all NoSQL operations.lexigram-nosql
LEX_ERR_NOSQL_002NoSQLConnectionErrorFailed to connect to the document store.lexigram-nosql
LEX_ERR_NOSQL_003DocumentNotFoundErrorRequested document does not exist.lexigram-nosql
LEX_ERR_NOSQL_004DuplicateKeyErrorInsert/update violated a unique constraint.lexigram-nosql
LEX_ERR_NOSQL_005DocumentValidationErrorDocument failed schema validation.lexigram-nosql
LEX_ERR_NOSQL_006TransactionErrorMulti-document transaction failed.lexigram-nosql
CodeClassDescriptionPackage
LEX_ERR_NOTIF_001NotificationErrorBase for expected, recoverable notification delivery failures. Attributes: ch…lexigram-contracts
LEX_ERR_NOTIF_002MailerErrorBase mailer/email notification error.lexigram-contracts
LEX_ERR_NOTIF_003TwilioNotificationErrorTwilio SMS delivery failure.lexigram-notification
LEX_ERR_NOTIF_004FCMNotificationErrorFCM push notification delivery failure.lexigram-notification
LEX_ERR_NOTIF_005APNsNotificationErrorAPNs push notification delivery failure.lexigram-notification
LEX_ERR_NOTIF_006SMTPMailerErrorSMTP-specific delivery failure (rejection, auth error, etc.).lexigram-notification
LEX_ERR_NOTIF_007SendGridMailerErrorSendGrid API delivery failure.lexigram-notification
LEX_ERR_NOTIF_008InboxErrorBase exception for all inbox submodule errors.lexigram-notification
LEX_ERR_NOTIF_009InboxMessageNotFoundErrorRaised when a requested inbox message does not exist.lexigram-notification
LEX_ERR_NOTIF_010InboxPermissionErrorRaised when a user attempts to access another user’s inbox messages.lexigram-notification
LEX_ERR_NOTIF_011WebPushNotificationErrorWeb Push notification delivery failure.lexigram-notification
LEX_ERR_NOTIF_012WhatsAppNotificationErrorWhatsApp delivery failure via Twilio provider.lexigram-notification
LEX_ERR_NOTIF_013WhatsAppMetaNotificationErrorWhatsApp delivery failure via Meta provider.lexigram-notification
LEX_ERR_NOTIF_014SlackNotificationErrorSlack notification delivery failure.lexigram-notification
CodeClassDescriptionPackage
LEX_ERR_OBS_001ObservabilityErrorBase exception for all observability-related errors.lexigram-ai-observability
LEX_ERR_OBS_002HealthCheckErrorRaised when a health check infrastructure operation fails.lexigram-ai-observability
LEX_ERR_OBS_003MetricsErrorRaised when a metrics recording or retrieval operation fails.lexigram-ai-observability
LEX_ERR_OBS_004TracingErrorRaised when a tracing operation fails.lexigram-ai-observability
CodeClassDescriptionPackage
LEX_ERR_PIPE_001PipelineExecutionErrorError raised during pipeline execution.lexigram-contracts
LEX_ERR_PIPE_002PipelineStepErrorError raised by a pipeline step.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_PROV_001ProviderErrorProvider configuration or lifecycle error.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_QE_001QueryEngineErrorRaised when query engine operations fail in an expected, recoverable way.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_QUEUE_001QueueErrorBase for expected, recoverable queue / bus failures. Attributes: backend: Nam…lexigram-contracts
LEX_ERR_QUEUE_002RedisQueueErrorRedis queue failure.lexigram-queue
LEX_ERR_QUEUE_003RabbitMQQueueErrorRabbitMQ queue failure.lexigram-queue
LEX_ERR_QUEUE_004KafkaQueueErrorKafka queue failure.lexigram-queue
LEX_ERR_QUEUE_005SQSQueueErrorSQS queue failure.lexigram-queue
LEX_ERR_QUEUE_006AzureServiceBusQueueErrorAzure Service Bus queue failure.lexigram-queue
LEX_ERR_QUEUE_007GCPPubSubQueueErrorGCP Pub/Sub queue failure.lexigram-queue
CodeClassDescriptionPackage
LEX_ERR_RAG_001RAGErrorBase for RAG pipeline errors. Extended in lexigram-ai-rag with specific failu…lexigram-contracts
LEX_ERR_RAG_002RetrievalErrorError raised during document retrieval.lexigram-contracts
LEX_ERR_RAG_003SynthesisErrorError raised during response synthesis.lexigram-contracts
LEX_ERR_RAG_004ChunkingErrorError raised during document chunking.lexigram-contracts
LEX_ERR_RAG_005RAGErrorBase exception for RAG errors.lexigram-ai-rag
LEX_ERR_RAG_006PreprocessingErrorRaised when document preprocessing fails.lexigram-ai-rag
LEX_ERR_RAG_010MultimodalErrorBase exception for multimodal processing errors.lexigram-ai-rag
LEX_ERR_RAG_011AudioLoaderErrorRaised when audio loading fails.lexigram-ai-rag
LEX_ERR_RAG_012VideoLoaderErrorRaised when video loading fails.lexigram-ai-rag
LEX_ERR_RAG_013ImageLoaderErrorRaised when image loading fails.lexigram-ai-rag
LEX_ERR_RAG_014CLIPEmbeddingErrorRaised when CLIP embedding computation fails.lexigram-ai-rag
LEX_ERR_RAG_015MissingCitationsErrorRaised when a pipeline with require_citations=True produces no citations.lexigram-ai-rag
LEX_ERR_RAG_016UnsupportedFormatErrorRaised when no loader is registered for the given file format or URL.lexigram-ai-rag
LEX_ERR_RAG_017MissingOptionalDependencyErrorlexigram-ai-rag
CodeClassDescriptionPackage
LEX_ERR_REG_001RegistryErrorBase exception for registry errors.lexigram-contracts
LEX_ERR_REG_002RegistryKeyErrorRaised when a key is not found in a registry.lexigram-contracts
LEX_ERR_REG_003RegistryAlreadyExistsErrorRaised when attempting to register a duplicate key in a registry.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_RES_001ResilienceErrorBase resilience error.lexigram-contracts
LEX_ERR_RES_002RetryErrorRetry operation error.lexigram-contracts
LEX_ERR_RES_003CircuitBreakerErrorCircuit breaker error.lexigram-contracts
LEX_ERR_RES_004BulkheadErrorBulkhead/rejection error.lexigram-contracts
LEX_ERR_RES_005FallbackErrorFallback execution error.lexigram-contracts
LEX_ERR_RES_006RetryExhaustedErrorAll retry attempts have been exhausted.lexigram-contracts
LEX_ERR_RES_007CircuitOpenErrorCircuit breaker is open and rejecting requests.lexigram-contracts
LEX_ERR_RES_008RetryExhaustedErrorAll retry attempts exhausted.lexigram-resilience
LEX_ERR_RES_009CircuitOpenErrorCircuit breaker is open.lexigram-resilience
LEX_ERR_RES_010BulkheadRejectedErrorBulkhead rejected due to capacity limits.lexigram-resilience
LEX_ERR_RES_011ResilienceTimeoutErrorResilience operation timed out. Inherits from both ResilienceError and built-…lexigram-resilience
CodeClassDescriptionPackage
LEX_ERR_RESULT_002UnwrapErrorRaised when unwrap() or unwrap_err() is called on the wrong variant. Provides…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_RET_001RetrieverErrorBase for retriever errors. Raised when document retrieval fails in an expecte…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_RUN_001RunnableErrorRecoverable composition failure (input shape, parser error, retry budget exce…lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_SEARCH_001SearchErrorBase exception for search operations.lexigram-search
LEX_ERR_SEARCH_002IndexNotFoundErrorRaised when index is not found.lexigram-search
LEX_ERR_SEARCH_003BackendErrorRaised when search backend encounters an error.lexigram-search
LEX_ERR_SEARCH_004SearchValidationErrorRaised when search query validation fails.lexigram-search
LEX_ERR_SEARCH_005TransformationErrorRaised when document transformation fails.lexigram-search
LEX_ERR_SEARCH_006CacheErrorRaised when search cache operation fails.lexigram-search
LEX_ERR_SEARCH_007QueryErrorRaised when search query execution fails.lexigram-search
LEX_ERR_SEARCH_008ConfigurationErrorRaised when search configuration is invalid.lexigram-search
LEX_ERR_SEARCH_009SearchIndexErrorRaised when search index operation fails.lexigram-search
LEX_ERR_SEARCH_010SchedulerErrorRaised when search scheduler operation fails.lexigram-search
CodeClassDescriptionPackage
LEX_ERR_SEC_001SecurityErrorBase security error for the Lexigram security subsystem.lexigram-contracts
LEX_ERR_SEC_002GuardDeniedErrorRaised when a GuardChain denies the request. Attributes: guard: The name or t…lexigram-contracts
LEX_ERR_SEC_003InputSanitizationErrorRaised when sanitization fails due to unrecoverable input structure.lexigram-contracts
LEX_ERR_SEC_004CORSViolationErrorRaised when a request violates the configured CORS policy. Attributes: origin…lexigram-contracts
LEX_ERR_SEC_005SecretAccessErrorRaised when the caller lacks permission to access or modify a secret. Attribu…lexigram-contracts
LEX_ERR_SEC_006SecurityErrorBase exception for all security-module errors.lexigram
LEX_ERR_SEC_007SecretNotFoundErrorRaised when a requested secret does not exist.lexigram
LEX_ERR_SEC_008SecretAccessErrorRaised when access to a secret is denied.lexigram
LEX_ERR_SEC_009EncryptionErrorRaised when field-level encryption fails.lexigram
LEX_ERR_SEC_010DecryptionErrorRaised when field-level decryption fails.lexigram
LEX_ERR_SEC_011SecretErrorBase exception for secret store errors.lexigram
LEX_ERR_SEC_012RateLimitExceededErrorRaised when a client has exceeded the configured rate limit. Carries “retry_…lexigram-auth
CodeClassDescriptionPackage
LEX_ERR_SERIAL_001SerializationErrorSerialization/deserialization error.lexigram-contracts
LEX_ERR_SERIAL_002SerializationErrorJSON serialisation or deserialisation failed. Raised by: - JsonSerializerlexigram
LEX_ERR_SERIAL_003SerializationErrorBase exception for serialization and deserialization failures. Extensions sho…lexigram
LEX_ERR_SERIAL_004NegotiationErrorRaised when no serializer can be negotiated for a given Accept header.lexigram
CodeClassDescriptionPackage
LEX_ERR_SES_001SessionErrorBase class for session-related errors.lexigram-contracts
LEX_ERR_SES_002TaskCancelledErrorError raised when a task is cancelled.lexigram-contracts
LEX_ERR_SES_003TaskErrorBase class for task execution errors.lexigram-contracts
LEX_ERR_SES_004TaskTimeoutErrorError raised when a task times out.lexigram-contracts
LEX_ERR_SES_005TaskValidationErrorError raised when task input validation fails.lexigram-contracts
LEX_ERR_SES_006SessionErrorBase error for all session operations. All session-specific exceptions inheri…lexigram-ai-session
LEX_ERR_SES_007SessionNotFoundErrorRaised when a session cannot be found by its ID. Args: session_id: The ID of …lexigram-ai-session
LEX_ERR_SES_008SessionClosedErrorRaised when an operation is attempted on a closed session. Args: session_id: …lexigram-ai-session
LEX_ERR_SES_009SessionExpiredErrorRaised when an operation is attempted on an expired session. Args: session_id…lexigram-ai-session
LEX_ERR_SES_010CheckpointNotFoundErrorRaised when a checkpoint cannot be found by its ID. Args: checkpoint_id: The …lexigram-ai-session
LEX_ERR_SES_011SessionTransitionErrorRaised when an invalid state transition is attempted. Args: session_id: The s…lexigram-ai-session
LEX_ERR_SES_012SessionCapacityErrorRaised when a session limit is exceeded. Args: detail: Human-readable descrip…lexigram-ai-session
CodeClassDescriptionPackage
LEX_ERR_SKILL_001SkillErrorBase for skill execution errors. Extended in lexigram-ai-skills with specific…lexigram-contracts
LEX_ERR_SKILL_002SkillNotFoundErrorRaised when a requested skill is not registered.lexigram-ai-skills
LEX_ERR_SKILL_003SkillAlreadyRegisteredErrorRaised when a skill is registered under a name that already exists.lexigram-ai-skills
LEX_ERR_SKILL_004SkillValidationErrorRaised when skill parameter validation fails.lexigram-ai-skills
LEX_ERR_SKILL_005SkillPermissionDeniedErrorRaised when the caller lacks required permissions for a skill.lexigram-ai-skills
LEX_ERR_SKILL_006SkillTimeoutErrorRaised when skill execution exceeds the configured timeout.lexigram-ai-skills
LEX_ERR_SKILL_007SkillRoutingErrorRaised when a SkillRouter finds no matching route.lexigram-ai-skills
LEX_ERR_SKILL_008SkillExecutionErrorRaised when a skill execution fails after all retry attempts.lexigram-ai-skills
CodeClassDescriptionPackage
LEX_ERR_SQL_001DatabaseConnectionErrorBase for all connection-related failures. Attributes: host: The database host…lexigram-sql
LEX_ERR_SQL_002ConnectionRefusedErrorServer actively refused the connection.lexigram-sql
LEX_ERR_SQL_003ConnectionTimeoutErrorConnection attempt timed out.lexigram-sql
LEX_ERR_SQL_004ConnectionPoolErrorConnection pool exhausted — no connections available within timeout.lexigram-sql
LEX_ERR_SQL_005QueryErrorBase for query execution failures. Attributes: sql: The SQL query that failed…lexigram-sql
LEX_ERR_SQL_006QuerySyntaxErrorThe SQL query has a syntax error.lexigram-sql
LEX_ERR_SQL_007ParameterBindingErrorFailed to bind parameters to a query.lexigram-sql
LEX_ERR_SQL_008IntegrityErrorBase for constraint violation errors. Attributes: constraint: The constraint …lexigram-sql
LEX_ERR_SQL_009DuplicateKeyErrorUnique constraint or primary key violated.lexigram-sql
LEX_ERR_SQL_010ForeignKeyErrorForeign key constraint violated.lexigram-sql
LEX_ERR_SQL_011NotNullViolationErrorNOT NULL constraint violated. Attributes: column: The column that triggered t…lexigram-sql
LEX_ERR_SQL_012CheckConstraintErrorCHECK constraint violated.lexigram-sql
LEX_ERR_SQL_013TransactionErrorBase for transaction-related failures.lexigram-sql
LEX_ERR_SQL_014SerializationErrorSerialization failure (optimistic concurrency conflict).lexigram-sql
LEX_ERR_SQL_015OptimisticLockErrorRaised when an optimistic lock check fails on UPDATE. Indicates a concurrent …lexigram-sql
LEX_ERR_SQL_016TransactionRollbackErrorTransaction was rolled back (not by the application).lexigram-sql
LEX_ERR_SQL_017LockErrorRaised when a database lock cannot be acquired.lexigram-sql
LEX_ERR_SQL_018DeadlockErrorDatabase deadlock detected. Inherits from :class:TransactionError because d…lexigram-sql
LEX_ERR_SQL_019SchemaErrorBase for schema-related errors.lexigram-sql
LEX_ERR_SQL_020TableNotFoundErrorReferenced table does not exist.lexigram-sql
LEX_ERR_SQL_021ColumnNotFoundErrorReferenced column does not exist.lexigram-sql
LEX_ERR_SQL_022DatabaseTimeoutErrorDatabase operation timed out.lexigram-sql
LEX_ERR_SQL_023RepositoryErrorRepositoryProtocol-level operation failure.lexigram-sql
LEX_ERR_SQL_024UnitOfWorkErrorRaised when unit of work operation fails.lexigram-sql
LEX_ERR_SQL_025DriverErrorWraps underlying database driver exceptions. Preserves the original exception…lexigram-sql
LEX_ERR_SQL_026DataErrorBase exception for data access layer failures.lexigram-sql
LEX_ERR_SQL_027DataQueryErrorRaised when a query cannot be built or compiled. Args: message: Explanation o…lexigram-sql
LEX_ERR_SQL_028PaginationErrorRaised when pagination parameters are invalid. Args: message: Explanation of …lexigram-sql
LEX_ERR_SQL_029EntityNotFoundErrorSignals that a required entity does not exist. RepositoryProtocol implementat…lexigram-sql
LEX_ERR_SQL_030DataRepositoryErrorRaised when a repository operation fails unexpectedly. Args: message: Explana…lexigram-sql
LEX_ERR_SQL_031CursorErrorRaised when a cursor cannot be encoded or decoded. Args: message: Explanation…lexigram-sql
LEX_ERR_SQL_032MigrationDependencyErrorRaised when migration dependencies are not satisfied.lexigram-sql
LEX_ERR_SQL_033MigrationExecutionErrorRaised when migration execution fails.lexigram-sql
LEX_ERR_SQL_034MigrationNotFoundErrorRaised when a migration is not found.lexigram-sql
LEX_ERR_SQL_035MigrationValidationErrorRaised when migration validation fails.lexigram-sql
LEX_ERR_SQL_036ProtocolValidationErrorRaised when object doesn’t implement protocol.lexigram-sql
LEX_ERR_SQL_037MappingErrorException raised when entity mapping fails.lexigram-sql
CodeClassDescriptionPackage
LEX_ERR_STORE_001StorageErrorBase exception for storage errors.lexigram-storage
LEX_ERR_STORE_002StorageFileNotFoundErrorRaised when file is not found.lexigram-storage
LEX_ERR_STORE_003StorageUnsupportedOperationErrorRaised when the requested operation is not supported by the storage driver.lexigram-storage
LEX_ERR_STORE_004TransactionErrorRaised when a transaction operation fails.lexigram-storage
LEX_ERR_STORE_005QuotaExceededErrorRaised when a storage quota or size limit is exceeded.lexigram-storage
LEX_ERR_STORE_006InvalidPathErrorRaised when a path is invalid or attempts directory traversal.lexigram-storage
LEX_ERR_STORE_007StorageUnavailableErrorRaised when the storage backend is not reachable or unavailable.lexigram-storage
LEX_ERR_STORE_008ChecksumMismatchErrorRaised when a file’s checksum does not match the expected value.lexigram-storage
CodeClassDescriptionPackage
LEX_ERR_TASK_001TaskQueueErrorBase class for expected, recoverable task queue failures. All subtypes indica…lexigram-contracts
LEX_ERR_TASK_002QueueFullErrorThe queue has reached its maximum capacity and cannot accept new tasks. The c…lexigram-tasks
LEX_ERR_TASK_003TaskErrorBase exception for all task-related errorslexigram-tasks
LEX_ERR_TASK_004TaskNotFoundErrorRaised when a task cannot be foundlexigram-tasks
LEX_ERR_TASK_005TaskTimeoutErrorRaised when a task execution exceeds timeoutlexigram-tasks
LEX_ERR_TASK_006TaskCancelledErrorRaised when a task is cancelledlexigram-tasks
LEX_ERR_TASK_007TaskExecutionErrorRaised when a task execution failslexigram-tasks
LEX_ERR_TASK_008TaskValidationErrorRaised when task parameters are invalidlexigram-tasks
LEX_ERR_TASK_009DuplicateTaskErrorRaised when a duplicate task is detectedlexigram-tasks
LEX_ERR_TASK_010TaskDependencyCycleErrorRaised at registration time when a dependency cycle is detected. The schedule…lexigram-tasks
LEX_ERR_TASK_011TaskRegistrationErrorRaised when a scheduled or handler task fails to register.lexigram-tasks
CodeClassDescriptionPackage
LEX_ERR_TENANT_001TenantErrorBase class for all tenancy-related domain errors.lexigram-contracts
LEX_ERR_TENANT_002TenantNotFoundErrorRaised when a requested tenant does not exist.lexigram-contracts
LEX_ERR_TENANT_003TenantInactiveErrorRaised when an operation is attempted on an inactive tenant.lexigram-contracts
LEX_ERR_TENANT_004TenantProvisioningErrorRaised when tenant provisioning (isolation setup) fails.lexigram-contracts
LEX_ERR_TENANT_005TenantResolutionErrorRaised when tenant resolution fails unexpectedly.lexigram-contracts
LEX_ERR_TENANT_006TenantConfigErrorRaised when per-tenant configuration access or mutation fails.lexigram-contracts
LEX_ERR_TENANT_007TenantSlugConflictErrorRaised when a tenant slug is already in use.lexigram-contracts
LEX_ERR_TENANT_008TenantSuspendedErrorRaised when an operation is attempted on a suspended tenant.lexigram-contracts
CodeClassDescriptionPackage
LEX_ERR_TEST_001TestingErrorBase exception for lexigram-testing operations.lexigram-testing
LEX_ERR_TEST_002TokenBudgetExceededErrorRaised when an AITestClient operation would exceed the configured token budge…lexigram-testing
LEX_ERR_TEST_003MemoryBackendErrorBase exception for all memory backend errors.lexigram-testing
LEX_ERR_TEST_004CommandBusErrorRaised when a command bus operation fails.lexigram-testing
LEX_ERR_TEST_005CommandHandlerNotFoundErrorRaised when no handler is registered for a specific command type.lexigram-testing
LEX_ERR_TEST_006DuplicateHandlerErrorRaised when a handler is already registered for a command type.lexigram-testing
LEX_ERR_TEST_007CommandErrorWraps a handler exception for Result-based command dispatch.lexigram-testing
LEX_ERR_TEST_008QueryBusErrorRaised when a query bus operation fails.lexigram-testing
LEX_ERR_TEST_009QueryHandlerNotFoundErrorRaised when no handler is registered for a specific query type.lexigram-testing
LEX_ERR_TEST_010QueryDuplicateHandlerErrorRaised when a handler is already registered for a query type.lexigram-testing
LEX_ERR_TEST_011ConfigurationErrorRaised when a require_stub module is loaded via configure() in test mode. Thi…lexigram-testing
LEX_ERR_TEST_012SnapshotMismatchErrorRaised when a value does not match the stored snapshot.lexigram-testing
CodeClassDescriptionPackage
LEX_ERR_UI_001UIErrorBase exception for all UI-domain errors.lexigram-ui
CodeClassDescriptionPackage
LEX_ERR_VAL_001FieldErrorA single field-level validation error. Used to represent validation failures …lexigram-contracts
LEX_ERR_VAL_002ValidationErrorData validation error.lexigram-contracts
LEX_ERR_VAL_003ValidationErrorInput validation against rules failed. Raised by: - “ValidatorImpl.validate(…lexigram
LEX_ERR_VAL_004ValidationSystemErrorBase exception for validation system/pipeline failures. Distinct from :class:…lexigram
CodeClassDescriptionPackage
LEX_ERR_VEC_001VectorErrorBase exception for vector store errors. Extends InfrastructureError because v…lexigram-contracts
LEX_ERR_VEC_002VectorStoreErrorException raised during vector store operations (CRUD, search).lexigram-contracts
LEX_ERR_VEC_003EmbeddingErrorException raised during embedding generation or retrieval.lexigram-contracts
LEX_ERR_VEC_004VectorIndexErrorException raised during vector index creation or management.lexigram-contracts
LEX_ERR_VEC_005VectorErrorBase exception for all vector store operations.lexigram-vector
LEX_ERR_VEC_006VectorConnectionErrorFailed to connect to the vector store.lexigram-vector
LEX_ERR_VEC_007CollectionNotFoundErrorRequested collection does not exist.lexigram-vector
LEX_ERR_VEC_008CollectionAlreadyExistsErrorAttempted to create a collection that already exists.lexigram-vector
LEX_ERR_VEC_009DimensionMismatchErrorVector dimensionality does not match the collection.lexigram-vector
LEX_ERR_VEC_010VectorConfigErrorInvalid vector store configuration.lexigram-vector
LEX_ERR_VEC_011FilterCompilationErrorFailed to compile a metadata filter for the target backend.lexigram-vector
LEX_ERR_VEC_012VectorUpsertErrorFailed to upsert vectors.lexigram-vector
LEX_ERR_VEC_013VectorSearchErrorFailed to execute similarity search.lexigram-vector
LEX_ERR_VEC_014VectorDeleteErrorFailed to delete vectors.lexigram-vector
LEX_ERR_VEC_015VectorTimeoutErrorVector store operation timed out.lexigram-vector
CodeClassDescriptionPackage
LEX_ERR_WEB_001WebErrorWeb layer error.lexigram-contracts
LEX_ERR_WEB_002HttpStatusErrorRaised by :meth:HttpResponse.raise_for_status for 4xx/5xx responses. Attrib…lexigram-contracts
LEX_ERR_WEB_003NotFoundError404 Not Found.lexigram-web
LEX_ERR_WEB_004BadRequestError400 Bad Request.lexigram-web
LEX_ERR_WEB_005UnauthorizedError401 Unauthorized.lexigram-web
LEX_ERR_WEB_006ForbiddenError403 Forbidden.lexigram-web
LEX_ERR_WEB_007MethodNotAllowedError405 Method Not Allowed.lexigram-web
LEX_ERR_WEB_008ConflictError409 Conflict.lexigram-web
LEX_ERR_WEB_009UnprocessableEntityError422 Unprocessable Entity.lexigram-web
LEX_ERR_WEB_010InternalServerError500 Internal Server Error.lexigram-web
LEX_ERR_WEB_011DependencyResolutionError500 Dependency Resolution Error.lexigram-web
LEX_ERR_WEB_012RateLimitError429 Too Many Requests.lexigram-web
LEX_ERR_WEB_013TooManyConnectionsError503 Service Unavailable — connection limit reached. Raised when a streaming e…lexigram-web
LEX_ERR_WEB_014HTTPErrorBase HTTP error, compatible with LexigramError.lexigram-web
CodeClassDescriptionPackage
LEX_ERR_WEBHOOK_001WebhookErrorBase exception for webhook domain operations.lexigram-contracts
LEX_ERR_WEBHOOK_002SubscriptionNotFoundErrorRaised when a subscription ID is not found.lexigram-webhook
LEX_ERR_WEBHOOK_003SubscriptionInactiveErrorRaised when attempting to deliver to a deactivated subscription.lexigram-webhook
LEX_ERR_WEBHOOK_004InvalidWebhookURLErrorRaised when a subscription URL fails validation.lexigram-webhook
LEX_ERR_WEBHOOK_005DeliveryAttemptNotFoundErrorRaised when a delivery attempt ID is not found.lexigram-webhook
LEX_ERR_WEBHOOK_006SecretRotationErrorRaised when secret rotation fails.lexigram-webhook
CodeClassDescriptionPackage
LEX_ERR_WF_001WorkflowErrorBase for workflow execution errors. Raised when a workflow graph execution fa…lexigram-contracts
LEX_ERR_WF_002SagaStepErrorRepresents a recoverable failure from a single saga step action. SagaProtocol…lexigram-contracts
LEX_ERR_WF_003WorkflowErrorBase exception for workflow orchestration errors.lexigram-workflow
LEX_ERR_WF_004WorkflowNotFoundErrorRaised when a workflow definition cannot be found.lexigram-workflow
LEX_ERR_WF_005WorkflowStateErrorRaised when a workflow is in an invalid state for the requested operation.lexigram-workflow
LEX_ERR_WF_006WorkflowStepErrorRaised when a workflow step fails to execute.lexigram-workflow
LEX_ERR_WF_007WorkflowTimeoutErrorRaised when a workflow or step exceeds its timeout.lexigram-workflow
LEX_ERR_WF_008WorkflowCompensationErrorRaised when workflow compensation/rollback fails.lexigram-workflow
LEX_ERR_WF_009SagaVersionMismatchErrorRaised when a persisted saga state version is incompatible with the current c…lexigram-workflow
LEX_ERR_WF_010WorkflowVersionMismatchErrorRaised when resuming a workflow instance with a mismatched definition version…lexigram-workflow
LEX_ERR_WF_011GraphExecutionErrorBase exception for graph workflow engine operations. Args: message: Human-rea…lexigram-workflow
LEX_ERR_WF_012NodeExecutionErrorA graph node’s execute() method failed. Args: message: Human-readable error d…lexigram-workflow
LEX_ERR_WF_013CycleDetectedErrorGraph engine exceeded max_iterations (likely cycle). Args: iterations: Number…lexigram-workflow
LEX_ERR_WF_014GraphTimeoutErrorGraph workflow execution exceeded total timeout. Args: timeout: The configure…lexigram-workflow
LEX_ERR_WF_015GraphValidationErrorGraph structure validation failed.lexigram-workflow
LEX_ERR_WF_016HumanInputRequiredErrorRaised by HumanNode to pause execution awaiting human input. Args: prompt: Te…lexigram-workflow
LEX_ERR_WF_017StateErrorRaised when an invalid state transition is attempted. Attributes: event: The …lexigram-workflow
LEX_ERR_WF_018StateConcurrencyErrorRaised when optimistic version checks fail during a transition.lexigram-workflow
LEX_ERR_WF_019SagaErrorRaised when a saga step fails after compensation has been attempted. Attribut…lexigram-workflow
LEX_ERR_WF_020BulkOperationErrorBase exception for bulk operation errors.lexigram-workflow
LEX_ERR_WF_021BulkOperationTimeoutErrorRaised when a bulk operation times out.lexigram-workflow
LEX_ERR_WF_022BulkOperationCancelledErrorRaised when a bulk operation is cancelled.lexigram-workflow