summaryrefslogtreecommitdiff
path: root/glfw/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'glfw/src/lib.rs')
-rw-r--r--glfw/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/glfw/src/lib.rs b/glfw/src/lib.rs
index 7d2f25c..f858766 100644
--- a/glfw/src/lib.rs
+++ b/glfw/src/lib.rs
@@ -22,6 +22,9 @@ pub enum Error
#[error("An internal nul byte was found in the window title")]
InternalNulByteInWindowTitle,
+ #[error("This version of GLFW is unsupported")]
+ UnsupportedVersion,
+
/// GLFW error.
#[error("GLFW error {0} occured. {1}")]
GlfwError(i32, String),