From bd462bccea2a637486f863a6342b9870b35c69aa Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 25 Feb 2026 06:09:23 +0530 Subject: feat: Add common constants, errors, and serial driver functionality --- common/errors/memory/allocation.zig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 common/errors/memory/allocation.zig (limited to 'common/errors/memory/allocation.zig') diff --git a/common/errors/memory/allocation.zig b/common/errors/memory/allocation.zig new file mode 100644 index 0000000..2359cac --- /dev/null +++ b/common/errors/memory/allocation.zig @@ -0,0 +1,9 @@ +//! Memory Allocation Errors + +pub const AllocationError = error{ + OutOfMemory, + InvalidSize, + InvalidAlignment, + RegionExhausted, + ZoneExhausted, +}; -- cgit v1.2.3