return new self( Response::HTTP_BAD_REQUEST,
self::MISSING_REQUEST_PARAMETER_CODE,
'Parameter "{{ parameterName }}" is missing.',
['parameterName' =>
$name, 'path' =>
$path] );
} public static function languageNotFound(?string
$languageId): self
{ if (!Feature::
isActive('v6.6.0.0'
)) { return new LanguageNotFoundException($languageId);
} return new self( Response::HTTP_PRECONDITION_FAILED,
self::LANGUAGE_NOT_FOUND,
'The language "{{ languageId }}" was not found.',
['languageId' =>
$languageId] );
} public static function appIntegrationNotFound(string
$integrationId): self
{