WWW::Efa::Error::Setup - WWW::Efa error, happened in ->new()
use WWW::Efa::Error::Setup; my $error = WWW::Efa::Error::Setup->new( 'max_interchanges', '-1', 'Must be positive' ); die $error->as_string(); # WWW::Efa setup error: Wrong arg for option max_interchanges: -1 # Must be positive
Class for all WWW::Efa-internal errors occuring during initialization. Usually caused by missing or invalid setup arguments.
Return the error as string, can directly be displayed to the user
Returns the option which caused the error.
Returns the value which caused the error.
Returns a message describing what went wrong and how to fix it.