jspg error refactoring checkpoint
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize)]
|
||||
pub struct ValidationError {
|
||||
pub code: String,
|
||||
pub message: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub values: Option<HashMap<String, String>>,
|
||||
pub path: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user