Spring Boot/Spring Batch 목표 아키텍처 정의 #4
1 changed files with 13 additions and 0 deletions
13
src/main/java/com/example/demo/error/ErrorResponse.java
Normal file
13
src/main/java/com/example/demo/error/ErrorResponse.java
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.example.demo.error;
|
||||||
|
|
||||||
|
public class ErrorResponse {
|
||||||
|
private String message;
|
||||||
|
private int status;
|
||||||
|
|
||||||
|
public ErrorResponse(String message, int status) {
|
||||||
|
this.message = message;
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Getters
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue