//! Typed error for constructing [`OpenGLFrameFilter`].
//!
//! [`OpenGLFrameFilter`]: crate::opengl::opengl_frame_filter::OpenGLFrameFilter
/// Errors from the [`OpenGLFrameFilter`] constructors (mirrors
/// `WgpuFilterError` for the wgpu feature; converts into
/// [`crate::error::Error::OpenGLFilter`]).
///
/// Runtime failures (shader compilation and linking, GL object creation,
/// frame upload and readback) surface through the pipeline as
/// [`FrameFilterError`](crate::filter::frame_filter::FrameFilterError)
/// instead — this type covers what can go wrong before a frame flows.
///
/// [`OpenGLFrameFilter`]: crate::opengl::opengl_frame_filter::OpenGLFrameFilter