Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 533 Bytes

2023-01-11-fix-typo-in-api-expectation-error-code.md

File metadata and controls

10 lines (10 loc) · 533 Bytes
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: code@joshua-behrens.de
author_github: @JoshuaBehrens
---

Core

  • Changed constant return value of \Shopware\Core\Framework\Api\Exception\ExceptionFailedException::getErrorCode from FRAMEWORK__API_EXCEPTION_FAILED to FRAMEWORK__API_EXPECTATION_FAILED
  • Deprecated \Shopware\Core\Framework\Api\Exception\ExceptionFailedException and added \Shopware\Core\Framework\Api\Exception\ExpectationFailedException to replace it