relocate method
Implementation
ValidationError relocate(JsonPath basePath) {
assert(basePath != JsonPath.root(), "Can't relocate to the root. Duh!");
return ValidationError(
path: basePath + path,
message: message,
debugMessage: debugMessage,
code: code,
keyword: keyword,
arguments: arguments,
value: value,
);
}