-
Notifications
You must be signed in to change notification settings - Fork 2
/
ProblemTypes.cs
39 lines (34 loc) · 1.43 KB
/
ProblemTypes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
namespace Cms.BatCave.Sonar;
public static class ProblemTypes {
/// <summary>
/// The specified data is not consistent with the configuration.
/// </summary>
/// <remarks>
/// This problem type is used when a payload passes basic JSON validation, but is inconsistent in
/// some way with the configuration for the resource being manipulated.
/// </remarks>
public const String InconsistentData = "sonar:InconsistentData";
/// <summary>
/// The specified data is not violates some constraint.
/// </summary>
/// <remarks>
/// This problem type is used when a payload passes basic JSON validation, but violates some more
/// advanced constraint.
/// </remarks>
public const String InvalidData = "sonar:InvalidData";
/// <summary>
/// The specified configuration violates some constraint.
/// </summary>
/// <remarks>
/// This problem type is used when a configuration payload passes basic JSON validation, but violates
/// some more advanced constraint such as containing an internal reference to a resource that does
/// not exist.
/// </remarks>
public const String InvalidConfiguration = "sonar:InvalidConfiguration";
/// <summary>
/// The requested deletion cannot be performed because the resource has dependencies that must be
/// deleted first.
/// </summary>
public const String DependentResourcesPreventDeletion = "sonar:DependentResourcesPreventDeletion";
}