aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/exceptions
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-01-09 15:13:08 -0600
committermat <github@matdoes.dev>2022-01-09 15:13:08 -0600
commitc7554b40d52c33db6a5cc23a5b2e01b96dfe3a59 (patch)
tree148f877790b18cedaf6d2e70286cedd3eeccbd99 /azalea-brigadier/src/exceptions
parent4626bd45cd8b3875a0ee006cf8e2c7cfb9f8cbcc (diff)
downloadazalea-drasl-c7554b40d52c33db6a5cc23a5b2e01b96dfe3a59.tar.xz
add some more tests
Diffstat (limited to 'azalea-brigadier/src/exceptions')
-rw-r--r--azalea-brigadier/src/exceptions/builtin_exceptions.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-brigadier/src/exceptions/builtin_exceptions.rs b/azalea-brigadier/src/exceptions/builtin_exceptions.rs
index fcca49cd..1533364b 100644
--- a/azalea-brigadier/src/exceptions/builtin_exceptions.rs
+++ b/azalea-brigadier/src/exceptions/builtin_exceptions.rs
@@ -4,6 +4,7 @@ use crate::{immutable_string_reader::ImmutableStringReader, message::Message};
use super::command_syntax_exception::CommandSyntaxException;
+#[derive(Clone, PartialEq)]
pub enum BuiltInExceptions {
DoubleTooSmall { found: usize, min: usize },
DoubleTooBig { found: usize, max: usize },