summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/resources/config/common/error-configuration.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api/src/test/resources/config/common/error-configuration.yaml')
-rw-r--r--common-app-api/src/test/resources/config/common/error-configuration.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/common-app-api/src/test/resources/config/common/error-configuration.yaml b/common-app-api/src/test/resources/config/common/error-configuration.yaml
new file mode 100644
index 0000000000..9db9bbdc58
--- /dev/null
+++ b/common-app-api/src/test/resources/config/common/error-configuration.yaml
@@ -0,0 +1,26 @@
+# Errors
+errors:
+ OK: {
+ code: 200,
+ message: "OK"
+ }
+ CREATED: {
+ code: 201,
+ message: "OK"
+ }
+ NO_CONTENT: {
+ code: 204,
+ message: "No Content"
+ }
+#--------POL4050-----------------------------
+ NOT_ALLOWED: {
+ code: 405,
+ message: "Error: Method not allowed.",
+ messageId: "POL4050"
+ }
+#--------POL5000-----------------------------
+ GENERAL_ERROR: {
+ code: 500,
+ message: "Error: Internal Server Error. Please try again later.",
+ messageId: "POL5000"
+ }