DocsRuntimellm-providersProviderErrorInfo
Package: @hexos/runtime

Provider error information containing message and optional code.

Standardized error structure used across all LLM providers to return consistent error information to the runtime.

interface ProviderErrorInfo {
    message: string;
    code?: string;
}

message

string

code

string