TestimoX

API Reference

Class

AdFailureDescriptor

Namespace ADPlayground.Helpers
Assembly ADPlayground
Modifiers sealed

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

Inheritance

  • Object
  • AdFailureDescriptor

Constructors

public AdFailureDescriptor(String errorCode, String category, String entity, Boolean recoverable, IReadOnlyList<String> missingArguments = null) #

Initializes a new instance of the AdFailureDescriptor class.

Parameters

errorCode System.String requiredposition: 0
category System.String requiredposition: 1
entity System.String requiredposition: 2
recoverable System.Boolean requiredposition: 3
missingArguments System.Collections.Generic.IReadOnlyList{System.String} = null optionalposition: 4

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.

public IReadOnlyList<String> MissingArguments { get; } #

Optional missing argument hints.

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