mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-05-29 00:41:21 +00:00
Adjust error message
This commit is contained in:
parent
c42beaa4b0
commit
39120568b2
@ -43,11 +43,11 @@ export class SchemaValidationError extends Error {
|
||||
? "array"
|
||||
: typeof provided;
|
||||
|
||||
const message = `Aqua and schema type mismatch. Path: ${path.join(
|
||||
const message = `Aqua type mismatch. Path: ${path.join(
|
||||
".",
|
||||
)}; Expected: ${expected}; Given: ${given};\n\nschema: ${JSON.stringify(
|
||||
)}; Expected: ${expected}; Given: ${given}; \nSchema: ${JSON.stringify(
|
||||
schema,
|
||||
)}; Try to recompile rust services and aqua and make sure that you are using up-to-date versions of aqua libraries`;
|
||||
)}; \nTry to recompile rust services and aqua. Make sure you are using up-to-date versions of aqua libraries`;
|
||||
|
||||
super(message);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user