Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Net.lastError

Net.lastError() -> string

Description

Get the error message from the most recent Net request.

$content = Net.httpGet(url'https://nonexistent.blah')
if !$content {
    print(Net.lastError())
}