package library.dto;

/**
 * The body of every error response: 
 * <pre>
 * { 
 *   "status": 409, 
 *   "message": "A book with ISBN … already exists" 
 * }
 * </pre>
 *
 * The message is written for the client. Never put stack traces, SQL, or table
 * and column names in it; those go in the server log.
 */
public record ErrorResponse(int status, String message) {
}
