point-tools-go/api_error.go
2016-03-29 10:53:04 +03:00

8 lines
173 B
Go

package point_tools
// ApiError represents the typical error object in API response
type ApiError struct {
Code int `json:"code"`
Message string `json:"message"`
}