Skip to content

feat: add error field to distribution release models - #404

Merged
andrii-bodnar merged 1 commit into
crowdin:masterfrom
Selahattinozdmr:feat/distribution-release-error-field
Sep 14, 2026
Merged

andrii-bodnar merged 1 commit into
crowdin:masterfrom
Selahattinozdmr:feat/distribution-release-error-field

Conversation

@Selahattinozdmr

Copy link
Copy Markdown
Contributor

Description

Get Distribution Release and Release Distribution now return an optional error object (message) when the release status is failed, for both file-based and strings-based distributions, on Crowdin and Crowdin Enterprise.

Added an Error nested class + error field to DistributionRelease and DistributionStringsBasedRelease, following the same pattern already used for ProjectBuild.Error.

Added TestClient mock tests (releaseFailed.json / releaseStringsBasedFailed.json fixtures) covering a failed release response, verified to fail to compile without the model change and pass with it.

Fixes #403

Get Distribution Release and Release Distribution now return an
optional error object (message) when the release status is failed,
for both file-based and strings-based distributions, on Crowdin and
Crowdin Enterprise.

Fixes crowdin#403
@andrii-bodnar
andrii-bodnar merged commit e8ba901 into crowdin:master Sep 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add error details to Distribution Release responses

2 participants