export interface HandlerErrorDetail { /** Whether this response concerns a deprecated field or route. */ deprecated?: boolean; /** The deprecated field name. */ deprecatedField?: string; /** Machine-readable error classification code. */ errorCode?: string; /** Human-readable description of the error. */ message?: string; /** The canonical replacement for the deprecated field. */ preferredField?: string; /** * Deprecated for API clients: always false on this path, so it carries no * information. To detect a failure read the HTTP status code; for what * went wrong read the envelope's error.code and error.message, and * meta.request_id when reporting it. The whole `detail` object is * deprecated legacy — tagging the field individually so SDK users see it * on the property, not just the container (PRO-1208). */ success?: boolean; }