
Sending an error to the client allows the connector to show more information to the user when the DCB is closed due to a reason internal to MaxScale. The error message states that the connection was killed by MaxScale to distinct it from the error sent by the server. The error number and SQL state are still the same as both errors should be treated the same way.