我想知道从WSO2 DSS抛出的以下错误代码的解释。
DATABASE_ERROR
CONNECTION_UNAVAILABLE_ERROR
VALIDATION_ERROR
INCOMPATIBLE_PARAMETERS_ERROR
UNKNOWN_ERROR
答案 0 :(得分:1)
DATABASE_ERROR - Database errors occurring such as SQLExceptions when creating a query in the data service level
CONNECTION_UNAVAILABLE_ERROR - Erors occurring while initializing connections in JNDI datasources
VALIDATION_ERROR - Errors occurring when using validators, essentially when a validation fails
INCOMPATIBLE_PARAMETERS_ERROR - Errors occurring while converting a query's ExternalParams to parameters by making necessary transformation as instructed by with-param elements
UNKNOWN_ERROR - Any error does not fall into the above categories