From 0ddc1e39dc24cff636defbbbab974967bb5301b8 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:24 +0100 Subject: fix(queues): fix validation errors & docs --- stockton-skeleton/src/error.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stockton-skeleton/src/error.rs') diff --git a/stockton-skeleton/src/error.rs b/stockton-skeleton/src/error.rs index 6d7e7ad..15df7ff 100644 --- a/stockton-skeleton/src/error.rs +++ b/stockton-skeleton/src/error.rs @@ -55,6 +55,9 @@ pub enum EnvironmentError { pub enum UsageError { #[error("Attempt to create mappable memory block from non-mappable memory")] NonMappableMemory, + + #[error("Called get_queue without properly requesting the queue beforehand.")] + QueueNegotiatorMisuse, } /// Indicates an issue with the level object being used -- cgit v1.2.3