-
Notifications
You must be signed in to change notification settings - Fork 1
Error
Troptop edited this page Jul 20, 2024
·
1 revision
| Property | Type |
|---|---|
| code | number |
| message | string |
An Error is returned on a request when it fails. An example of an Error is below:
{
code = 2001,
message = "Invalid Server-Key"
}Most of ERLua's HTTP functions will return an Error object if an error occurs, but some return nil, and print the custom error message.