Skip to content

[Issue] Document Exceptions in Asset Repository Functions #38988

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #38975: Document Exceptions in Asset Repository Functions


Description (*)

The updateDesignParams() function has the capacity to throw the UnexpectedValueException but this is not documented in either of the functions that call it. Additionally, the createAsset() function has the potential to throw a LocalizedException which is not documented by either of the functions that make use of it.

Manual testing scenarios (*)

  1. Create a class that makes use of the modified functions
  2. Observe your IDE report the potential for the aforementioned exceptions

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Priority: P3May be fixed according to the position in the backlog.Progress: PR in progressTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Ready for Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions