aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorMatthew Collins <[email protected]>2017-09-06 15:51:08 +0100
committerMatthew Collins <[email protected]>2017-09-06 15:51:08 +0100
commitd1be508a5fbee5535593ca246de389f40f1f7b34 (patch)
tree70c3235f9db852097b6ec50b7d532342e8d30287 /src/error.rs
downloadarchived-steamworks-rs-d1be508a5fbee5535593ca246de389f40f1f7b34.tar.xz
archived-steamworks-rs-d1be508a5fbee5535593ca246de389f40f1f7b34.zip
Initial commit
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
new file mode 100644
index 0000000..6ac1914
--- /dev/null
+++ b/src/error.rs
@@ -0,0 +1,17 @@
+
+error_chain! {
+ types {
+ Error, ErrorKind, ResultExt, Result;
+ }
+ links {
+ }
+
+ foreign_links {
+ }
+
+ errors {
+ InitFailed {
+ description("failed to init the steamworks API"),
+ }
+ }
+}