-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Description
Right now the RendererError
that is returned from Renderer::render()
is not accessible in the API - while it's marked as pub
, it is stored in the private renderer.rs module and therefore I can't access the enum fields from outside of this crate.
Something like pub use renderer::RendererError
in the lib.rs
would be nice.
webrender/webrender/src/renderer.rs
Lines 1592 to 1597 in efba6f2
pub enum RendererError { | |
Shader(ShaderError), | |
Thread(std::io::Error), | |
Resource(ResourceCacheError), | |
MaxTextureSize, | |
} |
https://docs.rs/webrender/0.60.0/webrender/struct.Renderer.html#method.render - note that the returned Vec<RendererError>
isn't clickable, meaning that it's not publicly accessible.
kvark