case 'UsersException-5': // Deserialization failed
case 'UserShopsException-8': // Could not find software version.
throw new SbpServerException($sbpCode, 'server_error',
$httpCode,
$requestException);
case 'BinariesException-10': // Shopware version not given
case 'BinariesException-12': // Shopware version is invalid
throw new SbpServerException($sbpCode, 'shopware_version',
$httpCode,
$requestException);
case 'BinariesException-11': // No fitting binary found
throw new LicenceException($sbpCode, 'no_fitting_binary',
$httpCode,
$requestException);
case 'BinariesException-13':
throw new SbpServerException($sbpCode, 'plugin_name_not_found',
$httpCode,
$requestException);
case 'BinariesException-14':
throw new AuthenticationException($sbpCode, 'token_invalid',
$httpCode,
$requestException);
case 'BinariesException-15':
throw new SbpServerException($sbpCode, 'plugin_licence_not_found',
$httpCode,
$requestException);
case 'BinariesException-16':
throw new SbpServerException($sbpCode, 'wrong_major_version_licence',
$httpCode,
$requestException);
case 'BinariesException-17':
throw new SbpServerException($sbpCode, 'licence_outdated',
$httpCode,
$requestException);
case 'BinariesException-18':
throw new SbpServerException($sbpCode, 'defect_subscription',
$httpCode,
$requestException);
case 'BinariesException-19':
throw new SbpServerException($sbpCode, 'no_version_for_subscription',
$httpCode,
$requestException);
case 'BinariesException-20':