point-tools-go/api_error.go

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"`
}