aboutsummaryrefslogtreecommitdiff
path: root/src/sfml/sfml_errors.zig
diff options
context:
space:
mode:
authortslil clingman <>2021-09-01 12:59:50 -0400
committertslil clingman <>2021-09-01 12:59:50 -0400
commit6a2d132873ce7b40405a3dc000a12539fffd969b (patch)
tree3b730360b348900fbc937bd44b89c293c39ca00c /src/sfml/sfml_errors.zig
Init
Diffstat (limited to 'src/sfml/sfml_errors.zig')
-rw-r--r--src/sfml/sfml_errors.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sfml/sfml_errors.zig b/src/sfml/sfml_errors.zig
new file mode 100644
index 0000000..d09da43
--- /dev/null
+++ b/src/sfml/sfml_errors.zig
@@ -0,0 +1,3 @@
+//! Errors for the wrapper
+
+pub const Error = error{ nullptrUnknownReason, windowCreationFailed, resourceLoadingError, notEnoughData, areaDoesNotFit, outOfBounds, savingInFileFailed };