Skip to content

Commit

Permalink
Merge pull request #32 from jackc/fix-api-error-codes-link
Browse files Browse the repository at this point in the history
Fix API error code links
  • Loading branch information
mergify[bot] authored Aug 3, 2023
2 parents 00afaba + 930d3a3 commit e6058e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit e6058e4

Please sign in to comment.