Table of Contents

Class ArchetypeSchemaException

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Thrown when an archetype's persisted schema (its ArchetypeR1 row) cannot be opened under the runtime declaration. Every refusal is raised before any byte of the archetype moves.

public sealed class ArchetypeSchemaException : InvalidOperationException, ISerializable
Inheritance
ArchetypeSchemaException
Implements
Inherited Members

Remarks

Derives from InvalidOperationException, which is what a schema refusal at InitializeArchetypes has always thrown, so existing handlers keep catching it. See claude/design/Schema/07-archetype-set-evolution.md §8 for each kind.

Constructors

ArchetypeSchemaException(string, ArchetypeSchemaErrorKind, string)

Creates the exception.

public ArchetypeSchemaException(string archetypeName, ArchetypeSchemaErrorKind kind, string message)

Parameters

archetypeName string

Durable name of the archetype concerned.

kind ArchetypeSchemaErrorKind

Which rule refused the open.

message string

The full, user-facing message.

Properties

ArchetypeName

The durable name of the archetype (or, for UnopenedHolder, of the unopened holder).

public string ArchetypeName { get; }

Property Value

string

Kind

Which rule refused the open.

public ArchetypeSchemaErrorKind Kind { get; }

Property Value

ArchetypeSchemaErrorKind