aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/lib')
-rw-r--r--ruby/lib/google/protobuf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/lib/google/protobuf.rb b/ruby/lib/google/protobuf.rb
index 74ea770d..f0eb6268 100644
--- a/ruby/lib/google/protobuf.rb
+++ b/ruby/lib/google/protobuf.rb
@@ -35,7 +35,7 @@ require 'google/protobuf/message_exts'
# That way the module init can grab references to these.
module Google
module Protobuf
- class Error < RuntimeError; end
+ class Error < StandardError; end
class ParseError < Error; end
end
end