aboutsummaryrefslogtreecommitdiff
path: root/stockton-skeleton/src/error.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:24 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:24 +0100
commit0ddc1e39dc24cff636defbbbab974967bb5301b8 (patch)
tree7745054a2bc4030819eed3d39e0df45c94cc8b40 /stockton-skeleton/src/error.rs
parentb86e97f67a07368877bd18501aebcbe80cf93118 (diff)
fix(queues): fix validation errors & docs
Diffstat (limited to 'stockton-skeleton/src/error.rs')
-rw-r--r--stockton-skeleton/src/error.rs3
1 files changed, 3 insertions, 0 deletions
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