< Summary

Class:DCLServices.PlacesAPIService.NotAPlaceException
Assembly:PlacesAPIService
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/PlacesAPIService/NotAPlaceException.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:11
Line coverage:0% (0 of 2)
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
NotAPlaceException(...)0%2100%
NotAPlaceException(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/PlacesAPIService/NotAPlaceException.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4namespace DCLServices.PlacesAPIService
 5{
 6    public class NotAPlaceException : Exception
 7    {
 08        public NotAPlaceException(string placeUUID) : base($"Couldnt find place with ID {placeUUID}") { }
 09        public NotAPlaceException(Vector2Int coords) : base($"Scene at {coords} is not a place") { }
 10    }
 11}