diff --git a/backend/src/main/java/ovh/herisson/Clyde/Responses/UnauthorizedResponse.java b/backend/src/main/java/ovh/herisson/Clyde/Responses/UnauthorizedResponse.java new file mode 100644 index 0000000..154ecd8 --- /dev/null +++ b/backend/src/main/java/ovh/herisson/Clyde/Responses/UnauthorizedResponse.java @@ -0,0 +1,12 @@ +package ovh.herisson.Clyde.Responses; + + +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; + + +public class UnauthorizedResponse extends ResponseEntity { + public UnauthorizedResponse(String message) { + super(message,HttpStatus.UNAUTHORIZED); + } +}