/** * Standard error response with code, message and optional details */ export interface Error { /** * The HTTP error code * @example "404" */ code: string; /** * Additional context and details about the error. * May include field-specific validation errors or debugging information. * * @example {"field":"registry_identifier","reason":"Registry does not exist in the specified project","value":"invalid-registry"} */ details?: { [key: string]: any; }; /** * Human-readable error message explaining what went wrong * @example "Registry not found" */ message: string; }