Skip to content

Commit

Permalink
fix: implement status codes for better error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
vyfor committed Jun 13, 2024
1 parent 34bc8db commit 4bb5786
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/util/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub mod status;
pub mod types;
pub mod utils;
4 changes: 4 additions & 0 deletions src/util/status.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pub const SUCCESS: u8 = 0;
pub const UNINITIALIZED: u8 = 1;
pub const INVALID_CLIENT_ID: u8 = 2;
pub const WORKSPACE_BLACKLISTED: u8 = 3;

0 comments on commit 4bb5786

Please sign in to comment.