Properties passed to a yql callback to report a success or failure.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Error code. Returns 0 if success
is true
.
Error code will be 0 if success
is true
, nonzero otherwise. If the error
was generated by the operating system, that system's error value is used.
Otherwise, this value will be -1.
Overrides: ErrorResponse.code
The data payload received from the YQL.
The data payload received from the YQL.
May be undefined if success
is false
.
Error message, if any returned.
Error message, if any returned.
Will be undefined if success
is true
.
Overrides: ErrorResponse.error
Error message, if any returned. Use error
instead
deprecated since 3.1.0
Will be undefined if success
is true
.
Indicates if the operation succeeded.
Indicates if the operation succeeded.
Returns true
if request succeeded, false
otherwise.