diff options
| author | Bobby <[email protected]> | 2026-02-25 06:09:23 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-02-25 06:09:23 +0530 |
| commit | bd462bccea2a637486f863a6342b9870b35c69aa (patch) | |
| tree | c68dc848542f53b701c553bd0124874948598c8d /common/errors/memory/allocation.zig | |
| parent | 313ab7ea7d5a5d902005d8543ab6b323ed948048 (diff) | |
| download | akiba-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.zig | 9 |
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, +}; |
