This commit is contained in:
@@ -265,6 +265,11 @@ export default {
|
||||
throw "DEV ERROR gzvalidate::ServerErrors -> serverError seems to be missing from form's vue data object";
|
||||
}
|
||||
|
||||
//make sure errorBoxMessage is defined on data
|
||||
if (!v.$_.has(v, "errorBoxMessage")) {
|
||||
throw "DEV ERROR gzvalidate::ServerErrors -> errorBoxMessage seems to be missing from form's vue data object";
|
||||
}
|
||||
|
||||
//ensure the error returned is in an expected format to catch coding errors at the server end
|
||||
if (!v.$_.isEmpty(v.serverError)) {
|
||||
//Make sure there is an error code if there is an error collection
|
||||
|
||||
Reference in New Issue
Block a user