From 62bb0bc823d7d792b98b5c163b8db4deaa9ffc65 Mon Sep 17 00:00:00 2001 From: ksss Date: Thu, 27 Oct 2022 21:28:56 +0900 Subject: [PATCH] Add missing error class of IO::Buffer --- core/io/buffer.rbs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/io/buffer.rbs b/core/io/buffer.rbs index 4867b6e28..2e229420e 100644 --- a/core/io/buffer.rbs +++ b/core/io/buffer.rbs @@ -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