REST::Neo4p::Exceptions - Exception::Class objects for REST::Neo4p
use REST::Neo4p; my $server = 'http:127.0.0.1:7474'; my $RETRIES = 3; my $e; do { eval { REST::Neo4p->connect($server); $RETRIES--; }; } while ( $e = Exception::Class->caught('REST::Neo4p::CommException') ); ref $e ? $e->rethrow : die $e if $e;
Network and server communication errors. Method code()
returns the HTTP status code.
REST::Neo4p module-local errors.
Attempt to use a class-only method on a class instance.
Attempt to use a base method not supported in the subclass.
Attempt to use a not yet implemented method.
Attempt to call a subclass-only method from a parent class.
Attempt to perform a database action that violates an application-level constraint (REST::Neo4p::Constrain, REST::Neo4p::Constraint).
Attempt to create a new constraint with incorrect constraint syntax (REST::Neo4p::Constrain,REST::Neo4p::Constraint)
Exceptions and errors generated by the Neo4j server. Methods neo4j_message()
, neo4j_stacktrace()
, neo4j_exception()
return server-generated info.
Requested item not found in database.
Bad query syntax (see REST::Neo4p::Query).
Mark A. Jensen CPAN ID: MAJENSEN TCGA DCC mark -dot- jensen -at- nih -dot- gov http://tcga-data.nci.nih.gov
Copyright (c) 2012-2013 Mark A. Jensen. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.