any2orca API reference
    Preparing search index...

    Type Alias Any2orcaErrorCode

    Any2orcaErrorCode:
        | "invalid_file"
        | "too_large"
        | "invalid_project"
        | "profile_not_found"
        | "release_not_found"
        | "profile_data"
        | "invalid_preset"
        | "preset_base_unknown"

    What went wrong, as a stable code a UI can branch on:

    • invalid_file: not a readable 3MF (corrupt zip, missing project files, unsafe entries).
    • too_large: a project that unpacks to more than the size limit (2 GB by default; maxUnpackedBytes changes it).
    • invalid_project: a readable 3MF whose settings or objects are malformed or over a limit.
    • profile_not_found: the requested profile id isn't in the catalog and wasn't retired.
    • release_not_found: the requested Snapmaker Orca release isn't one the profile catalog holds.
    • profile_data: the profile catalog itself is missing or malformed.
    • invalid_preset: a preset or presets file that is malformed, over a limit, or can't be used with the given options.
    • preset_base_unknown: a file a preset can't be made from, because it isn't set up for a profile in the catalog.