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())
}
Get the error message from the most recent Net request.
$content = Net.httpGet(url'https://nonexistent.blah')
if !$content {
print(Net.lastError())
}