Files
mtusi2026lab3/dto/error.go
T
2026-10-20 20:46:51 +03:00

12 lines
213 B
Go

package dto
type ErrorResponse struct {
Error ErrorDetails `json:"error"`
}
type ErrorDetails struct {
Code string `json:"code"`
Message string `json:"message"`
RequestID string `json:"request_id"`
}