convertFieldError() — spring-boot Function Reference
Architecture documentation for the convertFieldError() function in ValidationErrors.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 89d1e234_d46e_8482_56c5_9d84fa39b81c["convertFieldError()"] 3500c51d_b402_6188_242b_e5acf55e3866["convertError()"] 3500c51d_b402_6188_242b_e5acf55e3866 -->|calls| 89d1e234_d46e_8482_56c5_9d84fa39b81c f565aa7a_a33b_00c7_b483_917cd045c554["findFieldErrorOrigin()"] 89d1e234_d46e_8482_56c5_9d84fa39b81c -->|calls| f565aa7a_a33b_00c7_b483_917cd045c554 76576a77_87f7_3680_8561_2923813db3c1["of()"] 89d1e234_d46e_8482_56c5_9d84fa39b81c -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 style 89d1e234_d46e_8482_56c5_9d84fa39b81c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/validation/ValidationErrors.java lines 79–85
private FieldError convertFieldError(ConfigurationPropertyName name, Set<ConfigurationProperty> boundProperties,
FieldError error) {
if (error instanceof OriginProvider) {
return error;
}
return OriginTrackedFieldError.of(error, findFieldErrorOrigin(name, boundProperties, error));
}
Domain
Subdomains
Called By
- convertError()
Source
Frequently Asked Questions
What does convertFieldError() do?
convertFieldError() is a function in the spring-boot codebase.
What does convertFieldError() call?
convertFieldError() calls 2 function(s): findFieldErrorOrigin, of.
What calls convertFieldError()?
convertFieldError() is called by 1 function(s): convertError.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free