package dto
type ErrorResponseDTO struct {
Error string `json:"error"`
}
func Error(err string) *ErrorResponseDTO { // FIXME Can DTOs have functions?
return &ErrorResponseDTO{err}