lib/jrpc/transport/socket_base.rb in jrpc-1.1.3 vs lib/jrpc/transport/socket_base.rb in jrpc-1.1.4
- old
+ new
@@ -1,9 +1,9 @@
module JRPC
module Transport
class SocketBase
- class Error < StandardError
+ class Error < ::JRPC::Error
end
class TimeoutError < Error
def initialize
super(self.class.to_s.split('::').last)