Skip to content

Add LocalizedError conformance to ContainerizationError#528

Merged
dcantah merged 1 commit intoapple:mainfrom
DePasqualeOrg:localized-error
Feb 11, 2026
Merged

Add LocalizedError conformance to ContainerizationError#528
dcantah merged 1 commit intoapple:mainfrom
DePasqualeOrg:localized-error

Conversation

@DePasqualeOrg
Copy link
Contributor

Without LocalizedError conformance, calling localizedDescription on a ContainerizationError falls back to the default representation (e.g., "ContainerizationError.ContainerizationError error 1.") instead of returning the actual error message. This makes it difficult to show meaningful errors in a UI, where localizedDescription is the standard way to get a user-facing string.

Without this, error.localizedDescription produces unhelpful output
like "ContainerizationError.ContainerizationError error 1." instead
of the actual message.
@dcantah dcantah merged commit 71a0b45 into apple:main Feb 11, 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.

2 participants