< Summary

Class:DCL.Social.Friends.FriendshipException
Assembly:FriendsController
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/FriendsController/FriendshipException.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:15
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
FriendshipException(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/FriendsController/FriendshipException.cs

#LineLine coverage
 1using System;
 2
 3namespace DCL.Social.Friends
 4{
 5    public class FriendshipException : Exception
 6    {
 07        public FriendRequestErrorCodes ErrorCode { get; }
 8
 9        public FriendshipException(FriendRequestErrorCodes errorCode)
 010            : base($"Error code: {errorCode}")
 11        {
 012            ErrorCode = errorCode;
 013        }
 14    }
 15}