Sha256: 80ff1ca450ed129b61eb767fd148c6e2ba5f0dc7e9e12db81d784176047e1768

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

module Tcl
  module Ruby
    class TclError < StandardError; end
    class ParseError < TclError; end
    class CommandError < TclError; end
    class TclArgumentError < TclError
      def initialize(msg)
        super("wrong \# args: should be\"#{msg}\"")
      end
    end
    class TclVariableNotFoundError < TclError
      def initialize(var, type = '')
        super("can't read \"#{var}\": #{type}")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tcl-ruby-0.1.0 lib/tcl/ruby/error.rb