< Summary

Class:WinSolutions.Sveta.Common.SvetaException
Assembly:WinSolutions.Sveta.Common
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Common/SvetaException.cs
Covered lines:0
Uncovered lines:12
Coverable lines:12
Total lines:26
Line coverage:0% (0 of 12)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Code()0%100%
.ctor()0%100%
.ctor(...)0%100%
.ctor(...)0%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Common/SvetaException.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5namespace WinSolutions.Sveta.Common
 6{
 7    public class SvetaException : Exception
 8    {
 09        public int Code { get; set; }
 10
 011        public SvetaException()
 012        {
 13
 014        }
 15
 016        public SvetaException(int code)
 017        {
 018            Code = code;
 019        }
 20
 021        public SvetaException(string error, int code): base(error)
 022        {
 023            Code = code;
 024        }
 25    }
 26}