translate

The exception for errorMsg, an ERROR.

Chosen by SQLSTATE alone. A FATAL is translateTermination's in an open session and translateRefusal's at login.

Return

The exception to raise, carrying the server's message, SQLSTATE and detail fields.

Parameters

errorMsg

The ErrorResponse the server sent.