You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Flutter GPU] Standardize a message error pattern. #143891
Right now, we have a mix of error handling that may be confusing to users.
Sometimes a success boolean is returned.
Sometimes an exception is thrown if there's a problem.
Sometimes Impeller validation will catch problems and rendering will fail.
Sometimes the Impeller backend will allow something invalid to happen and rendering will silently fail unless the user has Metal or Vulkan validations enabled.
Recommendation: Bias heavily towards exception throwing.
changed the title [-][Impeller] Flutter GPU: Standardize a message error pattern.[/-][+][Flutter GPU] Standardize a message error pattern.[/+]on Feb 24, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-][Impeller] Flutter GPU: Standardize a message error pattern.[/-][+][Flutter GPU] Standardize a message error pattern.[/+]bdero commentedon Sep 24, 2024
For dart-side parameter guards, use message asserts instead of exception branches.
[Flutter GPU] Breaking: Use exceptions for resource creation errors. (#…
github-actions commentedon Feb 18, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.