Total Complexity | 1 |
Total Lines | 7 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.base.Exceptions; |
||
3 | public class TeamNotFound extends BaseException { |
||
4 | /** |
||
5 | * Construct {@link TeamNotFound} with Team Slug and call the {@link BaseException} with Error Code |
||
6 | * @param slug Team slug of team |
||
7 | */ |
||
8 | public TeamNotFound(String slug) { |
||
9 | super(404, "Team with Slug " + slug + " was not found."); |
||
10 | } |
||
12 |