Sort out validation errors (#1516)

* Sort out validation errors

* Typo

* Fixed wasm/android build

* Fixed bad merge
This commit is contained in:
Arkadiy Paronyan authored and GitHub committed 2020-08-03 10:45:26 +00:00
1 parent 277fd75179
commit 09ce64bf24
8 files changed
+176 -93

No files matched your search

+2 -2
View File
@@ -87,9 +87,9 @@ impl CandidateBackingMessage {
}
}
/// Blanket error for validation failing.
/// Blanket error for validation failing for internal reasons.
#[derive(Debug)]
pub struct ValidationFailed;
pub struct ValidationFailed(pub String);
/// Messages received by the Validation subsystem.
///