Skip to content

Commit

Permalink
Merge pull request #1137 from ksss/io-buffer
Browse files Browse the repository at this point in the history
Add missing error class of IO::Buffer
  • Loading branch information
soutaro authored Nov 7, 2022
2 parents 276bd30 + 62bb0bc commit f24b8d9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions core/io/buffer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -706,5 +706,20 @@ class IO
PRIVATE: Integer

READONLY: Integer

class LockedError < RuntimeError
end

class AllocationError < RuntimeError
end

class AccessError < RuntimeError
end

class InvalidatedError < RuntimeError
end

class MaskError < ArgumentError
end
end
end

0 comments on commit f24b8d9

Please sign in to comment.