'message' => 'Country with id "myCustomCountry" not found!.',
];
yield SalesChannelException::COUNTRY_STATE_DOES_NOT_EXISTS_EXCEPTION =>
[ 'exception' => SalesChannelException::
countryStateNotFound('myCustomCountryState'
),
'statusCode' => Response::HTTP_NOT_FOUND,
'errorCode' => SalesChannelException::COUNTRY_STATE_DOES_NOT_EXISTS_EXCEPTION,
'message' => 'Country state with id "myCustomCountryState" not found!.',
];
yield SalesChannelException::CURRENCY_DOES_NOT_EXISTS_EXCEPTION =>
[ 'exception' => SalesChannelException::
currencyNotFound('myCustomCurrency'
),
'statusCode' => Response::HTTP_NOT_FOUND,
'errorCode' => SalesChannelException::CURRENCY_DOES_NOT_EXISTS_EXCEPTION,
'message' => 'Currency with id "myCustomCurrency" not found!.',
];
yield SalesChannelException::LANGUAGE_NOT_FOUND =>
[ 'exception' => SalesChannelException::
languageNotFound('myCustomLanguage'
),
'statusCode' => Response::HTTP_PRECONDITION_FAILED,
'errorCode' => SalesChannelException::LANGUAGE_NOT_FOUND,
'message' => 'The language "myCustomLanguage" was not found.',
];