aboutsummaryrefslogtreecommitdiff
path: root/azalea-nbt/src/error.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2023-11-19 22:07:38 -0600
committerGitHub <noreply@github.com>2023-11-19 22:07:38 -0600
commit2c610826fc9f8e16897f52313faa8e0602d1dc3d (patch)
tree5aad79ecab3b68511a10ebd7eba07af0bd8a5905 /azalea-nbt/src/error.rs
parent84e036ce3752ecf57904b0f5aff1f33d43e95a32 (diff)
downloadazalea-drasl-2c610826fc9f8e16897f52313faa8e0602d1dc3d.tar.xz
Replace azalea-nbt with simdnbt (#111)
* delete azalea-nbt and replace with simdnbt * use simdnbt from crates.io * remove serde dependency on azalea-registry
Diffstat (limited to 'azalea-nbt/src/error.rs')
-rwxr-xr-xazalea-nbt/src/error.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/azalea-nbt/src/error.rs b/azalea-nbt/src/error.rs
deleted file mode 100755
index ace7fcd3..00000000
--- a/azalea-nbt/src/error.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-use thiserror::Error;
-
-#[derive(Debug, Error)]
-pub enum Error {
- #[error("Invalid tag type: {0}")]
- InvalidTagType(u8),
- #[error("Invalid tag")]
- InvalidTag,
- #[error("Write error: {0}")]
- WriteError(#[from] std::io::Error),
- #[error("Utf8 error: {0}")]
- Utf8Error(#[from] std::str::Utf8Error),
- #[error("Unexpected EOF")]
- UnexpectedEof,
-}