self::API_UNSUPPORTED_ASSOCIATION_FIELD,
'Unsupported association for field {{ field }}',
['field' =>
$field] );
} /**
* @param string[] $permissions
*/
public static function missingPrivileges(array
$permissions): ShopwareHttpException
{ return new MissingPrivilegeException($permissions);
} public static function missingReverseAssociation(string
$entity, string
$parentEntity): ShopwareHttpException
{ return new MissingReverseAssociation($entity,
$parentEntity);
} public static function definitionNotFound(DefinitionNotFoundException
$exception): self
{ return new self( Response::HTTP_NOT_FOUND,