TA 역할 Spring 경계 smoke #3

Open
forge-bot wants to merge 9 commits from forge/role-ta-live-1522-001-attempt-1-run-6e84b72613b1 into main
Showing only changes of commit a596e750eb - Show all commits

View file

@ -0,0 +1,14 @@
package com.runtimematrix.controller.dto;
import java.time.Instant;
/** RFC 7807 Problem Details 형식의 오류 응답 DTO */
public record ErrorResponse(
String type, String title, int status, String detail,
String instance, String timestamp, String traceId
) {
public static ErrorResponse of(String type, String title, String detail,
int status, String instance, String traceId) {
return new ErrorResponse(type, title, status, detail, instance, Instant.now().toString(), traceId);
}
}