struct

Hwaro::Services::Importers::ImportResult

Inherits Struct < Value < Object

Every importer computes success: imported > 0 || errors == 0 — DELIBERATELY more lenient than the exporters' errors == 0 rule. Imports digest messy third-party dumps where some items are simply unimportable; a best-effort partial migration is the expected outcome, and per-item failures are counted and reported alongside it. Exports and conversions operate on the user's own valid content, where any error means the run must fail.

Constructors

new(success : Bool = true, message : String = "", imported_count : Int32 = 0, skipped_count : Int32 = 0, error_count : Int32 = 0)
Source

Instance methods

error_count
Source
error_count=(error_count : Int32)
Source
imported_count
Source
imported_count=(imported_count : Int32)
Source
message
Source
message=(message : String)
Source
skipped_count
Source
skipped_count=(skipped_count : Int32)
Source
success
Source
success=(success : Bool)
Source