// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ErrorCode } from "./ErrorCode";

/**
 * Structured error with code, message, and optional details.
 */
export type LastIDError = { 
/**
 * Error code for programmatic handling.
 */
code: ErrorCode, 
/**
 * Human-readable error message.
 */
message: string, 
/**
 * Additional error details (if available).
 */
details: string | null, 
/**
 * Whether this error type is retryable.
 */
isRetryable: boolean, 
/**
 * Suggested retry delay in milliseconds (if retryable).
 */
suggestedRetryMs: number | null, };
