TestimoX

API Reference

Class

ComputerXFailureDescriptor

Namespace ComputerX.Contracts
Assembly ComputerX
Modifiers sealed

Engine-owned failure descriptor with stable machine-readable semantics.

Inheritance

  • Object
  • ComputerXFailureDescriptor

Constructors

public ComputerXFailureDescriptor(String errorCode, String category, String entity, Boolean recoverable) #

Initializes a new instance of the ComputerXFailureDescriptor class.

Parameters

errorCode System.String requiredposition: 0
category System.String requiredposition: 1
entity System.String requiredposition: 2
recoverable System.Boolean requiredposition: 3

Properties

public String ErrorCode { get; } #

Stable error code.

public String Category { get; } #

Machine-readable category for recovery and planning.

public String Entity { get; } #

Logical entity affected by the failure.

public Boolean Recoverable { get; } #

Whether the failure is expected to be recoverable in-session.

Fields

public const String DefaultErrorCode #

Fallback error code used when input is missing/blank.

Value: query_failed
public const String UnknownCategory #

Fallback category used when input is missing/blank.

Value: unknown