Argument passed to the write callback when an asynchronous write operation finishes.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Number of bytes processed, or -1 in the event of an error or end of stream.
Number of bytes processed, or -1 in the event of an error or end of stream.
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
Error message, if any returned.
Error message, if any returned.
Will be undefined if success
is true
.
Overrides: ErrorResponse.error
Text description of the error.
deprecated since 3.1.0
Whether an error was encountered. Set to 1 in the case of an error, 0 otherwise.
deprecated since 3.1.0
Indicates if the operation succeeded.
Indicates if the operation succeeded.
Returns true
if request succeeded, false
otherwise.
Overrides: ErrorResponse.success