compat methods
This commit is contained in:
@@ -7,3 +7,9 @@ type apiError struct {
|
||||
Message string `json:"message"`
|
||||
RawError error `json:"errorObject,omitempty"`
|
||||
}
|
||||
|
||||
type compatAPIError struct {
|
||||
Success bool `json:"success"`
|
||||
ErrorID int `json:"errid,omitempty"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user