Implement the callback

To make a user-defined error structure available to a callback, the calling code can associate the user-defined structure with the callback or associate the user-defined structure with the database connection.