package infra // HTTPError representa un error HTTP estructurado para respuestas JSON. type HTTPError struct { Status int // codigo HTTP (ej: 400, 404, 500) Code string // codigo de error legible por maquina (ej: "invalid_input") Message string // mensaje de error legible por humano }