< Summary

Information
Class: Elsa.Persistence.VNext.Document.DocumentQueryNotIndexedException
Assembly: Elsa.Persistence.VNext
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.VNext/Document/DocumentQueryNotIndexedException.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 8
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%
get_StorageUnit()100%11100%
get_Fields()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.VNext/Document/DocumentQueryNotIndexedException.cs

#LineLine coverage
 1namespace Elsa.Persistence.VNext.Document;
 2
 43public class DocumentQueryNotIndexedException(string storageUnit, IReadOnlyCollection<string> fields) : InvalidOperation
 44    $"No declared index exists for storage unit '{storageUnit}' and fields '{string.Join(", ", fields.Order())}'.")
 5{
 46    public string StorageUnit { get; } = storageUnit;
 47    public IReadOnlyCollection<string> Fields { get; } = fields;
 8}