Searched refs:ArgumentError (Results 1 - 10 of 10) sorted by relevance

/ontohub/spec/lib/
H A Dconcurrency_balancer_spec.rb92 expect { ConcurrencyBalancer.sequential_lock { raise ArgumentError } }.
93 to raise_error(ArgumentError)
97 expect { ConcurrencyBalancer.sequential_lock { raise ArgumentError } }.
98 to raise_error(ArgumentError)
/ontohub/lib/uri_fetcher/
H A Derrors.rb4 class ArgumentError < ::ArgumentError; end class in class:UriFetcher.Errors
19 class TooManyRedirectionsError < ArgumentError
/ontohub/lib/
H A Drelation_list.rb31 raise ArgumentError, "invalid option: #{key}"
37 raise ArgumentError, "#{key} is not set" unless instance_variable_get("@#{key}")
H A Dstate_updater.rb17 raise ArgumentError.new('No block given.') unless block_given?
H A Dpermissionable.rb27 raise ArgumentError, "no user given" unless user.is_a? User
/ontohub/app/models/ontology/
H A Dmappings.rb30 raise ArgumentError, 'No hash given.' unless hash.is_a? Hash
37 source = Ontology.find_with_iri(source_iri) || (raise ArgumentError,
39 target = Ontology.find_with_iri(target_iri) || (raise ArgumentError,
H A Dsymbols.rb7 raise ArgumentError, 'No hash given.' unless hash.is_a? Hash
/ontohub/lib/oops/
H A Dclient.rb24 raise ArgumentError, 'options must include :url or :content'
/ontohub/git/lib/
H A Dontohub_net.rb22 raise ArgumentError, "unknown cmd: #{cmd}" if access_right.nil?
/ontohub/app/models/repository/
H A Dimporting.rb95 raise ArgumentError, "invalid source type: #{type}"

Completed in 138 milliseconds