diff Resources/ErrorCodes.json @ 3404:e280ced38a4c

ErrorCode_UnsupportedMediaType
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 18:43:42 +0200
parents 56ea9c476dba
children 7e303ba837d9
line wrap: on
line diff
--- a/Resources/ErrorCodes.json	Fri Jun 07 17:24:26 2019 +0200
+++ b/Resources/ErrorCodes.json	Fri Jun 07 18:43:42 2019 +0200
@@ -322,11 +322,6 @@
 
 
 
-
-
-
-
-
   /** Specific error codes **/
 
   
@@ -551,5 +546,16 @@
     "Code": 2042,
     "Name": "AlreadyExistingTag",
     "Description": "Cannot override the value of a tag that already exists"
+  },
+
+
+
+  /** HTTP-related error codes **/
+
+  {
+    "Code": 3000,
+    "HttpStatus": 415, 
+    "Name": "UnsupportedMediaType",
+    "Description": "Unsupported media type"
   }
 ]