Home / Function/ convertErrors() — spring-boot Function Reference

convertErrors() — spring-boot Function Reference

Architecture documentation for the convertErrors() function in ValidationErrors.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  421f7842_17bf_7486_6264_a82b4036dd03["convertErrors()"]
  da99990b_2f7c_2ef0_3d2f_3ac85bc00180["ValidationErrors()"]
  da99990b_2f7c_2ef0_3d2f_3ac85bc00180 -->|calls| 421f7842_17bf_7486_6264_a82b4036dd03
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  421f7842_17bf_7486_6264_a82b4036dd03 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  3500c51d_b402_6188_242b_e5acf55e3866["convertError()"]
  421f7842_17bf_7486_6264_a82b4036dd03 -->|calls| 3500c51d_b402_6188_242b_e5acf55e3866
  style 421f7842_17bf_7486_6264_a82b4036dd03 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 62–69

	private List<ObjectError> convertErrors(ConfigurationPropertyName name, Set<ConfigurationProperty> boundProperties,
			List<ObjectError> errors) {
		List<ObjectError> converted = new ArrayList<>(errors.size());
		for (ObjectError error : errors) {
			converted.add(convertError(name, boundProperties, error));
		}
		return Collections.unmodifiableList(converted);
	}

Domain

Subdomains

Calls

Called By

  • ValidationErrors()

Frequently Asked Questions

What does convertErrors() do?
convertErrors() is a function in the spring-boot codebase.
What does convertErrors() call?
convertErrors() calls 2 function(s): add, convertError.
What calls convertErrors()?
convertErrors() is called by 1 function(s): ValidationErrors.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free