Table of Contents

Class TyphonException

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Base class for all Typhon engine exceptions. Provides structured error information: numeric code and transience hint.

public class TyphonException : Exception, ISerializable
Inheritance
TyphonException
Implements
Derived
Inherited Members

Constructors

TyphonException(TyphonErrorCode, string)

Creates a new TyphonException with the specified error code and message.

public TyphonException(TyphonErrorCode errorCode, string message)

Parameters

errorCode TyphonErrorCode

Numeric error code identifying the specific failure.

message string

Human-readable description of the error.

TyphonException(TyphonErrorCode, string, Exception)

Creates a new TyphonException with the specified error code, message, and inner exception.

public TyphonException(TyphonErrorCode errorCode, string message, Exception innerException)

Parameters

errorCode TyphonErrorCode

Numeric error code identifying the specific failure.

message string

Human-readable description of the error.

innerException Exception

The exception that caused this exception.

Properties

ErrorCode

Numeric error code identifying the specific failure.

public TyphonErrorCode ErrorCode { get; }

Property Value

TyphonErrorCode

IsTransient

Hint: true if this failure is temporary and retrying may succeed. The engine does NOT retry automatically — this is informational for callers. Default is false — subclasses must explicitly opt in to transience.

public virtual bool IsTransient { get; }

Property Value

bool