You've already forked email-api-client
refactor: update error handling for HTTP response status codes
All checks were successful
🚀 Publish Release Package / publish (push) Successful in 20s
All checks were successful
🚀 Publish Release Package / publish (push) Successful in 20s
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
|||||||
type EmailCreateResponse struct {
|
type EmailCreateResponse struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
|
LimitRemaining int `json:"limit_remaining,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ErrorResponse struct {
|
type ErrorResponse struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user