-define(RESPONSE_OK, 1). -define(RESPONSE_STREAM_DOES_NOT_EXIST, 2). -define(RESPONSE_SUBSCRIPTION_ID_ALREADY_EXISTS, 3). -define(RESPONSE_SUBSCRIPTION_ID_DOES_NOT_EXIST, 4). -define(RESPONSE_STREAM_ALREADY_EXISTS, 5). -define(RESPONSE_STREAM_NOT_AVAILABLE, 6). -define(RESPONSE_SASL_MECHANISM_NOT_SUPPORTED, 7). -define(RESPONSE_AUTHENTICATION_FAILURE, 8). -define(RESPONSE_SASL_ERROR, 9). -define(RESPONSE_SASL_CHALLENGE, 10). -define(RESPONSE_SASL_AUTHENTICATION_FAILURE_LOOPBACK, 11). -define(RESPONSE_VIRTUAL_HOST_ACCESS_FAILURE, 12). -define(RESPONSE_UNKNOWN_FRAME, 13). -define(RESPONSE_FRAME_TOO_LARGE, 14). -define(RESPONSE_INTERNAL_ERROR, 15). -define(RESPONSE_ACCESS_REFUSED, 16). -define(RESPONSE_PRECONDITION_FAILED, 17). -define(RESPONSE_PUBLISHER_DOES_NOT_EXIST, 18).