Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API error code links #32

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion email.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type EmailResponse struct {
SubmittedAt time.Time
// MessageID: ID of message
MessageID string
// ErrorCode: API Error Codes
// ErrorCode: see error codes here (https://postmarkapp.com/developer/api/overview#error-codes)
ErrorCode int64
// Message: Response message
Message string
Expand Down
2 changes: 1 addition & 1 deletion postmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (client *Client) doRequest(ctx context.Context, opts parameters, dst interf

// APIError represents errors returned by Postmark
type APIError struct {
// ErrorCode: see error codes here (http://developer.postmarkapp.com/developer-api-overview.html#error-codes)
// ErrorCode: see error codes here (https://postmarkapp.com/developer/api/overview#error-codes)
ErrorCode int64
// Message contains error details
Message string
Expand Down