Class As4ErrorCode

Namespace: redb.Route.As4
Assembly: redb.Route.As4.dll

An ebMS 3.0 error code (Core §6.7, AS4 profile §3) with its short description, category and default
severity, and the fixed text we send to a partner for it. A received message never gets the text of one of
our exceptions back (BR-4): that text names our files, connections and services; the partner gets this
description and a reference to quote.

public sealed record As4ErrorCode : IEquatable<As4ErrorCode>

Inheritance

Object→As4ErrorCode

Implements

Properties

Category

public string Category { get; init; }

Code

public string Code { get; init; }

PartnerText

public string PartnerText { get; init; }

Severity

public As4ErrorSeverity Severity { get; init; }

ShortDescription

public string ShortDescription { get; init; }

Methods

Find(string?)

The known code named code (EBMS:0009), or null for a code we do not know.

public static As4ErrorCode? Find(string? code)

Constructors

As4ErrorCode(string, string, string, As4ErrorSeverity, string)

An ebMS 3.0 error code (Core §6.7, AS4 profile §3) with its short description, category and default