Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dashboards: Provide better error messages in SaveDashboardAsForm (#57866
) The existing code uses `instanceof Error` to check for a `message` field on the thrown object. The objects that are thrown are never instances of the error interface. This change introduces a new type that extends Error so that the check works properly and displays a meaningful error message in the UI. (cherry picked from commit f07da85)
- Loading branch information