Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix typo in API expectation error code
author: Joshua Behrens
issue: NEXT-24924
author_email: [email protected]
author_github: @JoshuaBehrens
---
- Changed constant return value of
\Shopware\Core\Framework\Api\Exception\ExceptionFailedException::getErrorCode
fromFRAMEWORK__API_EXCEPTION_FAILED
toFRAMEWORK__API_EXPECTATION_FAILED
- Deprecated
\Shopware\Core\Framework\Api\Exception\ExceptionFailedException
and added\Shopware\Core\Framework\Api\Exception\ExpectationFailedException
to replace it