'message' => 'Customer group registration for id id-1 not found.',
];
yield CustomerException::CUSTOMER_NOT_FOUND_BY_HASH =>
[ 'exception' => CustomerException::
customerNotFoundByHash('id-1'
),
'statusCode' => Response::HTTP_NOT_FOUND,
'errorCode' => CustomerException::CUSTOMER_NOT_FOUND_BY_HASH,
'message' => 'No matching customer for the hash "id-1" was found.',
];
yield CustomerException::CUSTOMER_NOT_FOUND_BY_ID =>
[ 'exception' => CustomerException::
customerNotFoundByIdException('id-1'
),
'statusCode' => Response::HTTP_NOT_FOUND,
'errorCode' => CustomerException::CUSTOMER_NOT_FOUND_BY_ID,
'message' => 'No matching customer for the id "id-1" was found.',
];
yield CustomerException::CUSTOMER_NOT_FOUND =>
[ 'exception' => CustomerException::
customerNotFound('abc@com'
),
'statusCode' => Response::HTTP_NOT_FOUND,
'errorCode' => CustomerException::CUSTOMER_NOT_FOUND,
'message' => 'No matching customer for the email "abc@com" was found.',
];