-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sathish/feature_exception
- Loading branch information
Showing
9 changed files
with
107 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "15.1.2" | ||
".": "16.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
mdx-models/src/main/java/com/mx/path/model/mdx/accessor/feature/ErrorDescriptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.mx.path.model.mdx.accessor.feature; | ||
|
||
/** | ||
* ErrorDescriptor representing different error descriptors in the application. | ||
* <p> | ||
* This enum provides a centralized way to manage error descriptors used | ||
* throughout the application. Each constant represents a specific error | ||
* condition that may arise during application operations. | ||
* </p> | ||
* <p> | ||
* Usage: | ||
* <p> | ||
* Use these constants to represent error conditions when throwing | ||
* exceptions or logging errors, ensuring consistency across the application. | ||
* </p> | ||
*/ | ||
public enum ErrorDescriptor { | ||
INSUFFICIENT_FUNDS, | ||
ACCOUNT_NOT_FOUND, | ||
UNKNOWN_ERROR; | ||
// todo: All the expected ErrorDescriptors will be added here. | ||
|
||
@Override | ||
public String toString() { | ||
return name(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters