SimpleCloudNotifier/server/common/ginresp/apiError.go

10 lines
259 B
Go
Raw Normal View History

2022-11-13 19:17:07 +01:00
package ginresp
2022-11-18 21:25:40 +01:00
type apiError struct {
2022-11-13 19:17:07 +01:00
Success bool `json:"success"`
Error int `json:"error"`
ErrorHighlight int `json:"errhighlight"`
Message string `json:"message"`
2022-11-18 21:25:40 +01:00
RawError error `json:"errorObject,omitempty"`
2022-11-13 19:17:07 +01:00
}