bevy/crates/bevy_render
Pascal Hertleif 0c2c52a0cd
Derive Error for more error types (#10240)
# Objective

Align all error-like types to implement `Error`.

Fixes  #10176

## Solution

- Derive `Error` on more types
- Refactor instances of manual implementations that could be derived

This adds thiserror as a dependency to bevy_transform, which might
increase compilation time -- but I don't know of any situation where you
might only use that but not any other crate that pulls in bevy_utils.

The `contributors` example has a `LoadContributorsError` type, but as
it's an example I have not updated it. Doing that would mean either
having a `use bevy_internal::utils::thiserror::Error;` in an example
file, or adding `thiserror` as a dev-dependency to the main `bevy`
crate.

---

## Changelog

- All `…Error` types now implement the `Error` trait
2023-10-28 22:20:37 +00:00
..
macros allow extensions to StandardMaterial (#7820) 2023-10-17 21:28:08 +00:00
src Derive Error for more error types (#10240) 2023-10-28 22:20:37 +00:00
Cargo.toml update shader imports (#10180) 2023-10-21 11:51:58 +00:00