createJsonError() — spring-boot Function Reference
Architecture documentation for the createJsonError() function in AbstractHttpClientMockTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 90f0c7fe_8e2f_4b49_d17a_0951cc52a4b6["createJsonError()"] 713a8d8a_a9f2_ce1b_3af6_97ecfdb38d5f["mockProjectGenerationError()"] 713a8d8a_a9f2_ce1b_3af6_97ecfdb38d5f -->|calls| 90f0c7fe_8e2f_4b49_d17a_0951cc52a4b6 9acc0f89_ebcd_60b7_0695_b84ba1cdf83b["mockMetadataGetError()"] 9acc0f89_ebcd_60b7_0695_b84ba1cdf83b -->|calls| 90f0c7fe_8e2f_4b49_d17a_0951cc52a4b6 style 90f0c7fe_8e2f_4b49_d17a_0951cc52a4b6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init/AbstractHttpClientMockTests.java lines 150–157
private String createJsonError(int status, @Nullable String message) throws JSONException {
JSONObject json = new JSONObject();
json.put("status", status);
if (message != null) {
json.put("message", message);
}
return json.toString();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does createJsonError() do?
createJsonError() is a function in the spring-boot codebase.
What calls createJsonError()?
createJsonError() is called by 2 function(s): mockMetadataGetError, mockProjectGenerationError.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free