stick to one error response class

This commit is contained in:
mirrerror
2023-11-13 10:15:11 +02:00
parent 3ba95647b4
commit f1c8211f7a
2 changed files with 2 additions and 18 deletions

View File

@@ -1,16 +0,0 @@
package com.faf223.expensetrackerfaf.controller.auth;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ErrorResponse {
private String error;
private String message;
public ErrorResponse(String error, String message) {
this.error = error;
this.message = message;
}
}