< Summary - Envilder .NET SDK

Information
Class: Envilder.MapFileError
Assembly: Envilder
File(s): /home/runner/work/envilder/envilder/src/sdks/dotnet/Domain/MapFileError.cs
Tag: 605_44106794472
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 25
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/envilder/envilder/src/sdks/dotnet/Domain/MapFileError.cs

#LineLine coverage
 1namespace Envilder;
 2
 3/// <summary>
 4/// One reason the map file cannot be used. <see cref="Key"/> names the
 5/// offending entry (<c>DB_URL</c>, <c>$config.profile</c>,
 6/// <c>WithProfile()</c>, or <c>(root)</c> for the document itself). Neither
 7/// field ever carries a mapped value.
 8/// </summary>
 9public class MapFileError
 10{
 11  /// <summary>Initializes a new instance.</summary>
 12  /// <param name="key">The offending entry.</param>
 13  /// <param name="message">What is wrong with it.</param>
 114  public MapFileError(string key, string message)
 15  {
 116    Key = key;
 117    Message = message;
 118  }
 19
 20  /// <summary>The offending entry.</summary>
 21  public string Key { get; }
 22
 23  /// <summary>What is wrong with the entry.</summary>
 24  public string Message { get; }
 25}

Methods/Properties

.ctor(string, string)