| @@ -24,4 +24,29 @@ export class RunnerIdsNotMatchingError extends NotAcceptableError { | ||||
|  | ||||
| 	@IsString() | ||||
| 	message = "The id's don't match!! \n And if you wanted to change a runner's id: This isn't allowed" | ||||
| } | ||||
|  | ||||
| export class RunnerOnlyOneGroupAllowedError extends NotAcceptableError { | ||||
| 	@IsString() | ||||
| 	name = "RunnerOnlyOneGroupAllowedError" | ||||
|  | ||||
| 	@IsString() | ||||
| 	message = "Runner's can only be part of one group (team or organisiation)! \n You provided an id for both." | ||||
| } | ||||
|  | ||||
| export class RunnerGroupNeededError extends NotAcceptableError { | ||||
| 	@IsString() | ||||
| 	name = "RunnerGroupNeededError" | ||||
|  | ||||
| 	@IsString() | ||||
| 	message = "Runner's need to be part of one group (team or organisiation)! \n You provided neither." | ||||
| } | ||||
|  | ||||
|  | ||||
| export class RunnerGroupNotFoundError extends NotFoundError { | ||||
| 	@IsString() | ||||
| 	name = "RunnerGroupNotFoundError" | ||||
|  | ||||
| 	@IsString() | ||||
| 	message = "The group you provided couldn't be located in the system. \n Please check your request." | ||||
| } | ||||
		Reference in New Issue
	
	Block a user