parameters: (self)
return_statement: return pn_error_code(pn_connection_error(self._impl))
docstring: Additional error information associated with the connection.
  
          Whenever a connection operation fails (i.e. returns an error code),
          additional error details can be obtained using this property. The
          returned value is the error code defined by Proton in ``pn_error_t``
          (see ``error.h``).
  
          :type: ``int``
docstring_summary: Additional error information associated with the connection.
docstring_tokens: Additional error information associated with the connection .
function: def error(self):
          """
          Additional error information associated with the connection.
  
          Whenever a connection operation fails (i.e. returns an error code),
          additional error details can be obtained using this property. The
          returned value is the error code defined by Proton in ``pn_error_t``
          (see ``error.h``).
  
          :type: ``int``
          """
          return pn_error_code(pn_connection_error(self._impl))
function_tokens: def error ( self ) : return pn_error_code ( pn_connection_error ( self . _impl ) )