Subject: | "unknown error" does not provide further details |
"Failed sending message: Unknown error. at [script path] line 88."
Looking at the source for WWW::Postmark, this occurs in one of two
situations:
1. unrecognised error code in returned JSON
2. unrecognised HTTP response code
In this case because the "unknown error" message is followed by a
period, I can determine that situation #2 applies in my case. Because
however I don't know what the HTTP response code was, I can't begin to
theorise about the cause of the failure.
Please consider elaborating these two "unknown error" messages, perhaps
in the following manner (where 456 is the relevant code):
1. unexpected Postmark error code 456
2. unexpected HTTP response code 456