MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / ValidationError

Class ValidationError

core/src/validation.rs:65–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63/// A validation error
64#[derive(Debug, Clone, Serialize, Deserialize)]
65pub struct ValidationError {
66 /// Field path that failed validation
67 pub field_path: String,
68 /// Error message
69 pub message: String,
70 /// Expected value or type
71 pub expected: Option<String>,
72 /// Actual value that failed validation
73 pub actual: Option<String>,
74 /// Error code for programmatic handling
75 pub error_code: String,
76}
77
78impl ValidationError {
79 /// Create a new validation error

Callers 2

validate_configMethod · 0.85
validate_tool_callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected