Skip to content

Commit 0c1f7eb

Browse files
feature(#20): this commit introduces a new error class related to clients
1 parent f59abdf commit 0c1f7eb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • Applications/Backend/Source/HttpsRichardy.Federation.Domain/Errors

Applications/Backend/Source/HttpsRichardy.Federation.Domain/Errors/ClientErrors.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public static class ClientErrors
1717
Description: "The client already has the specified audience assigned."
1818
);
1919

20+
public static readonly Error AudienceNotAssigned = new(
21+
Code: "#ERROR-B3F8E",
22+
Description: "The client does not have the specified audience assigned."
23+
);
24+
2025
public static readonly Error PermissionNotAssigned = new(
2126
Code: "#ERROR-C2FB0",
2227
Description: "The client does not have the specified permission assigned."

0 commit comments

Comments
 (0)