Skip to content

Commit

Permalink
reword error
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Moskal <[email protected]>
  • Loading branch information
hudson-ai and mmoskal authored Nov 26, 2024
1 parent 4ab27af commit f2f8938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/src/json/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ impl Compiler {
if self.options.coerce_one_of {
self.process_any_of(options)
} else {
Err(anyhow!("oneOf constraints are not supported. Enable 'coerce_one_of' option to coerce oneOf to anyOf"))
Err(anyhow!("oneOf constraints are not supported. Enable 'coerce_one_of' option to approximate oneOf with anyOf"))
}
}

Expand Down

0 comments on commit f2f8938

Please sign in to comment.