mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:26:51 +00:00
docfix/tweaked the error message
This commit is contained in:
parent
84d94a6489
commit
55967b121c
@ -107,6 +107,11 @@
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.2.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.database.jdbc</groupId>
|
||||
<artifactId>ojdbc8</artifactId>
|
||||
<version>21.4.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
|
||||
@ -5727,15 +5727,15 @@ trait APIMethods400 {
|
||||
// }yield{
|
||||
// JBool(isDeleted)
|
||||
// }
|
||||
throw new RuntimeException(s"$NotImplemented Only support Http Method `GET`,`CREATE`,`DELETE` yet, current is ${method.value}")
|
||||
throw new RuntimeException(s"$NotImplemented We only support the Http Methods GET and POST . The current method is: ${method.value}")
|
||||
} else if (method.value.equalsIgnoreCase("put")) {
|
||||
|
||||
throw new RuntimeException(s"$NotImplemented Only support Http Method `GET`,`CREATE`,`DELETE` yet, current is ${method.value}")
|
||||
throw new RuntimeException(s"$NotImplemented We only support the Http Methods GET and POST . The current method is: ${method.value}")
|
||||
}else {
|
||||
NewStyle.function.tryons(s"$InvalidEndpointMapping `request_mapping` must be linked to at least one valid dynamic entity!", 400, cc.callContext) {
|
||||
DynamicEndpointHelper.getEntityNameKeyAndValue(responseMappingString, pathParams)
|
||||
}
|
||||
throw new RuntimeException(s"$NotImplemented Only support Http Method `GET`,`CREATE`,`DELETE` yet, current is ${method.value}")
|
||||
throw new RuntimeException(s"$NotImplemented We only support the Http Methods GET and POST . The current method is: ${method.value}")
|
||||
}
|
||||
} yield{
|
||||
(Full(("code", 200) ~ ("value", responseBody)), callContext)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user