|
NAMEWWW::Mediawiki::Client::ExceptionSYNOPSISuse WWW::Mediawiki::Client::Exception; use Data::Dumper; # throw eval { WWW::Mediawiki::Client::LoginException->throw( error => 'Something bad happened', res => $res, cookie_jar => $cookie_jar, ); }; # catch if (UNIVERSAL::isa($@, 'WWW::Mediawiki::Client::LoginException') { print STDERR $@->error; print Dumper($@->res); } DESCRIPTIONA base class for WWW::Mediawiki::Client exceptions.SUBCLASSESWWW::Mediawiki::Client::URLConstructionExceptionIndicates a problem with the URL with which we to the Mediawiki server.WWW::Mediawiki::Client::AuthExceptionIndicates a problem with the provided authentication informationWWW::Mediawiki::Client::LoginExceptionIndicates that login failed for an unknown reasonFields:
WWW::Mediawiki::Client::CookieJarExceptionSomething went wrong saving or loading the cookie jarWWW::Mediawiki::Client::FileAccessExceptionSomething went wrong saving or loading a fileWWW::Mediawiki::Client::FileTypeExceptionThe file which we attempted to operate on is not a .wiki fileWWW::Mediawiki::Client::AbsoluteFileNameExceptionThe file which we attempted to operate on is not a .wiki fileWWW::Mediawiki::Client::CommitMessageExceptionThere is a problem with the commit messageWWW::Mediawiki::Client::CommitExceptionSomething went wrong while committing a changeWWW::Mediawiki::Client::PageDoesNotExistExceptionThere is no such page, either here or on the serverWWW::Mediawiki::Client::UpdateNeededExceptionThe page on the server has changed since the local file was last updatedWWW::Mediawiki::Client::ConflictsPresentExceptionAn attempt was made to commit a file containing conflictsWWW::Mediawiki::Client::CorruptedConfigFileExceptionThe configuration file cannot be parsed.WWW::Mediawiki::Client::ServerPageExceptionSomething went wrong fetching the server page.Throws:
WWW::Mediawiki::Client::ReadOnlyFieldExceptionClient code tried to set a read-only field.SEE ALSOException::ClassAUTHORS
LICENSECopyright (c) 2004 Mark Jaroski.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |