< Summary

Information
Class: MRA.DTO.Exceptions.Collections.CollectionNameNotProvidedException
Assembly: MRA.DTO
File(s): D:\a\MiguelRomerART\MiguelRomerART\MRA.DTO\Exceptions\Collections\CollectionNameNotProvidedException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 11
Line coverage: 0%
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
ErrorMessage(...)100%210%
.ctor(...)100%210%

File(s)

D:\a\MiguelRomerART\MiguelRomerART\MRA.DTO\Exceptions\Collections\CollectionNameNotProvidedException.cs

#LineLine coverage
 1namespace MRA.DTO.Exceptions.Collections;
 2
 3public class CollectionNameNotProvidedException : DocumentNotFoundException
 4{
 05    public static string ErrorMessage(string name) => $"The collection with name \"{name}\" was not provided.";
 6
 7    public CollectionNameNotProvidedException(string collectionName)
 08        : base(ErrorMessage(collectionName))
 9    {
 010    }
 11}