2025-05-17 11:36:26 -04:00

13 lines
267 B
Go

package models
type ApiErrorCustom struct {
Success bool `json:"success"`
Status int `json:"status"`
Message string `json:"message"`
Data interface{} `json:"data,omitempty"`
}
func (e ApiErrorCustom) Error() string {
return e.Message
}