SimpleCloudNotifier/server/common/ginresp/apiError.go

15 lines
348 B
Go
Raw Normal View History

2022-11-13 19:17:07 +01:00
package ginresp
type sendAPIError struct {
Success bool `json:"success"`
Error int `json:"error"`
ErrorHighlight int `json:"errhighlight"`
Message string `json:"message"`
}
type internAPIError struct {
Success bool `json:"success"`
ErrorID int `json:"errid,omitempty"`
Message string `json:"message"`
}