Struct glin::Error [−][src]
pub struct Error { /* fields omitted */ }
Implementations
impl Error
[src]
impl Error
[src]pub fn new<'a, S: Into<Option<&'a str>>>(kind: ErrorKind, desc: S) -> Error
[src]
pub fn with_gl_code<'a, S: Into<Option<&'a str>>>(
kind: ErrorKind,
desc: S,
gl_code: GLenum
) -> Error
[src]
kind: ErrorKind,
desc: S,
gl_code: GLenum
) -> Error
pub fn with_cause<'a, E: Error + Send + Sync + 'static, S: Into<Option<&'a str>>>(
kind: ErrorKind,
desc: S,
cause: E
) -> Error
[src]
kind: ErrorKind,
desc: S,
cause: E
) -> Error