Sha256: 1c9155692b0bebdce59831e44e62606c35aed2ae2b74f6a024e00385ebc4cd74

Contents?: true

Size: 777 Bytes

Versions: 7

Compression:

Stored size: 777 Bytes

Contents

#!/usr/bin/env ruby

require 'treequel'


module Treequel

	### The base Treequel exception type
	class Error < ::RuntimeError; end

	### Schema parsing errors
	class ParseError < Treequel::Error; end

	### Exception type raised when an expression cannot be parsed from the
	### arguments given to Treequel::Filter.new
	class ExpressionError < Treequel::Error; end

	### Generic exception type for Controls.
	class ControlError < Treequel::Error; end

	### Exception type for a requested Control type that is nonexistent or
	### unsupported on the current server.
	class UnsupportedControl < Treequel::ControlError; end

	### Exception raised from Treequel::Model due to misconfiguration or
	### other problem.
	class ModelError < Treequel::Error; end

end # module Treequel


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
treequel-1.2.2 lib/treequel/exceptions.rb
treequel-1.2.1 lib/treequel/exceptions.rb
treequel-1.2.0 lib/treequel/exceptions.rb
treequel-1.2.0pre320 lib/treequel/exceptions.rb
treequel-1.1.1 lib/treequel/exceptions.rb
treequel-1.1.0 lib/treequel/exceptions.rb
treequel-1.0.4 lib/treequel/exceptions.rb