For useful condition value constants, see {@link hunt.proton.amqp.transport.AmqpError AmqpError},
{@link hunt.proton.amqp.transport.ConnectionError ConnectionError},
{@link hunt.proton.amqp.transport.SessionError SessionError} and
{@link hunt.proton.amqp.transport.LinkError LinkError}.
@param condition
the error condition value
@param description
String description of the error, may be null
@return the condition
Create an ErrorCondition with the given error condition value and error description string.
See the AMQP specification <a href="http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-amqp-error">error sections</a> for details of various standard error condition values.
For useful condition value constants, see {@link hunt.proton.amqp.transport.AmqpError AmqpError}, {@link hunt.proton.amqp.transport.ConnectionError ConnectionError}, {@link hunt.proton.amqp.transport.SessionError SessionError} and {@link hunt.proton.amqp.transport.LinkError LinkError}.
@param condition the error condition value @param description String description of the error, may be null @return the condition