< Summary - Estud

Information
Class: Estud.Back.Errors.CourseOfferingNotFound
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Errors/EstudErrors.Students.cs
Tag: 114_29044117136
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 22
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
.cctor()100%210%
get_Code()100%210%
get_Message()100%210%

File(s)

/home/runner/work/syki/syki/Back/Errors/EstudErrors.Students.cs

#LineLine coverage
 1namespace Estud.Back.Errors;
 2
 3public class StudentNotFound : EstudError
 4{
 5    public static readonly StudentNotFound I = new();
 6    public override string Code { get; set; } = nameof(StudentNotFound);
 7    public override string Message { get; set; } = "Aluno não encontrado.";
 8}
 9
 10public class CourseOfferingNotFound : EstudError
 11{
 012    public static readonly CourseOfferingNotFound I = new();
 013    public override string Code { get; set; } = nameof(CourseOfferingNotFound);
 014    public override string Message { get; set; } = "Oferta de curso não encontrada.";
 15}
 16
 17public class StudentAlreadyEnrolledInCourseOffering : EstudError
 18{
 19    public static readonly StudentAlreadyEnrolledInCourseOffering I = new();
 20    public override string Code { get; set; } = nameof(StudentAlreadyEnrolledInCourseOffering);
 21    public override string Message { get; set; } = "Aluno já matriculado nesta oferta de curso.";
 22}

Methods/Properties

.cctor()
get_Code()
get_Message()