What a call returns. It is small on purpose (the hot calls hand it back by value): the kind, the
SQLSTATE and the primary message. The rest of an ErrorResponse is in error_fields(error).
Fields
- kind: Error_Kind
- io: Io.Io_Error
- IO, TIMED_OUT, CANCELED: the Io error behind it
- code: Sqlstate
- SERVER
- message: string
- the primary message; for client errors, what happened
- owner: *Error_Fields
- Owns
messageand the strings of the fields: release it withfree_error. Null when the error holds nothing (no error).