< Summary - Syki

Information
Class: Syki.Back.Errors.StudentAlreadyEnrolledInCourseOffering
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Errors/SykiErrors.Students.cs
Tag: 97_27801654829
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/SykiErrors.Students.cs

#LineLine coverage
 1namespace Syki.Back.Errors;
 2
 3public class StudentNotFound : SykiError
 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 : SykiError
 11{
 12    public static readonly CourseOfferingNotFound I = new();
 13    public override string Code { get; set; } = nameof(CourseOfferingNotFound);
 14    public override string Message { get; set; } = "Oferta de curso não encontrada.";
 15}
 16
 17public class StudentAlreadyEnrolledInCourseOffering : SykiError
 18{
 019    public static readonly StudentAlreadyEnrolledInCourseOffering I = new();
 020    public override string Code { get; set; } = nameof(StudentAlreadyEnrolledInCourseOffering);
 021    public override string Message { get; set; } = "Aluno já matriculado nesta oferta de curso.";
 22}

Methods/Properties

.cctor()
get_Code()
get_Message()