'message' => 'The following keys on the first level are duplicated and can not be overwritten: id1, id2, id3',
];
yield SnippetException::SNIPPET_EXTEND_OR_OVERWRITE_CORE_EXCEPTION =>
[ 'exception' => SnippetException::
extendOrOverwriteCore(['id1', 'id2', 'id3'
]),
'statusCode' => Response::HTTP_CONFLICT,
'errorCode' => SnippetException::SNIPPET_EXTEND_OR_OVERWRITE_CORE_EXCEPTION,
'message' => 'The following keys extend or overwrite the core snippets which is not allowed: id1, id2, id3',
];
yield SnippetException::SNIPPET_DEFAULT_LANGUAGE_NOT_GIVEN_EXCEPTION =>
[ 'exception' => SnippetException::
defaultLanguageNotGiven('languageId'
),
'statusCode' => Response::HTTP_BAD_REQUEST,
'errorCode' => SnippetException::SNIPPET_DEFAULT_LANGUAGE_NOT_GIVEN_EXCEPTION,
'message' => 'The following snippet file must always be provided when providing snippets: languageId',
];
}}