Table of Contents

Class HtmlAnalysisError

Namespace
Mailtrap.TestingMessages.Models
Assembly
Mailtrap.Abstractions.dll

Represents HTML analysis error details.

public sealed record HtmlAnalysisError : IEquatable<HtmlAnalysisError>
Inheritance
HtmlAnalysisError
Implements

Properties

Clients

Gets email clients affected by error.

[JsonPropertyName("email_clients")]
[JsonPropertyOrder(3)]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public EmailClients Clients { get; }

Property Value

EmailClients

Email clients affected by error.

Line

Gets a line number of the HTML, where error was found.

[JsonPropertyName("error_line")]
[JsonPropertyOrder(1)]
public int? Line { get; set; }

Property Value

int?

Line number of the HTML, where error was found.

RuleName

Gets HTML analysis rule name, that triggered the error.

[JsonPropertyName("rule_name")]
[JsonPropertyOrder(2)]
public string? RuleName { get; set; }

Property Value

string

HTML analysis rule name, that triggered the error.