Sha256: 57d811b9f95297a8802050db0e564b224a80e395c633a93e9e613de46c49f336

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

module NATS
  module RPC
    class RemoteError < StandardError
      attr_accessor :remote_exception

      def to_s
        msg = super
        "#{self.remote_exception} (#{msg})"
      end

      def message
        super
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nats-rpc-0.2.1 lib/nats/rpc/errors.rb