aboutsummaryrefslogtreecommitdiff
path: root/common/errors/memory/allocation.zig
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-02-25 06:09:23 +0530
committerBobby <[email protected]>2026-02-25 06:09:23 +0530
commitbd462bccea2a637486f863a6342b9870b35c69aa (patch)
treec68dc848542f53b701c553bd0124874948598c8d /common/errors/memory/allocation.zig
parent313ab7ea7d5a5d902005d8543ab6b323ed948048 (diff)
downloadakiba-bd462bccea2a637486f863a6342b9870b35c69aa.tar.xz
akiba-bd462bccea2a637486f863a6342b9870b35c69aa.zip
feat: Add common constants, errors, and serial driver functionality
Diffstat (limited to 'common/errors/memory/allocation.zig')
-rw-r--r--common/errors/memory/allocation.zig9
1 files changed, 9 insertions, 0 deletions
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,
+};