Skip to content

Re-export RendererError #3572

Open
Open
@fschutt

Description

@fschutt

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions