Fix CI for July release: restore custom SquareError error parsing#244
Closed
menglinblock wants to merge 3 commits into
Closed
Fix CI for July release: restore custom SquareError error parsing#244menglinblock wants to merge 3 commits into
menglinblock wants to merge 3 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-typescript-sdk: 3.73.4
Co-authored-by: Cursor <cursoragent@cursor.com>
Merged
fern-api
Bot
force-pushed
the
fern-bot/2026-07-13_21-30-55_019
branch
from
July 14, 2026 16:58
f846323 to
9ee0a8f
Compare
Contributor
Author
|
🤖 Fix re-applied directly to the fern-bot branch (fern-bot/2026-07-13_21-30-55_019); closing this stale PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/errors/SquareError.ts, dropping the custom error-parsing behavior added infc20c0d0("Add custom SquareError handling"): theerrorsarray,SquareError.ErrorCategory/SquareError.ErrorCode, and v1/v2 error body parsing. This broketests/unit/error.test.ts(thetestjob on SDK regeneration #243).new.target.prototype,captureStackTrace, andnamehandling).Verified locally:
yarn buildandyarn test:unitpass (644/644 tests, includingtests/unit/error.test.ts).This PR targets the
fern-bot/2026-07-13_21-30-55_019release branch so #243 goes green once merged. Since this file keeps getting reverted by regeneration, it may be worth adding it to.fernignoreupstream.Made with Cursor