|
@@ -12,6 +12,7 @@ import {
|
|
} from "@imengyu/js-request-transform";
|
|
} from "@imengyu/js-request-transform";
|
|
|
|
|
|
function setErrorFormatter() {
|
|
function setErrorFormatter() {
|
|
|
|
+
|
|
DataErrorFormatUtils.setFormatHandler((error, data) => {
|
|
DataErrorFormatUtils.setFormatHandler((error, data) => {
|
|
switch (error) {
|
|
switch (error) {
|
|
case DATA_MODEL_ERROR_REQUIRED_KEY_MISSING:
|
|
case DATA_MODEL_ERROR_REQUIRED_KEY_MISSING:
|