WWW::USF::Directory::Exception::UnknownResponse - Exception object for unknown


WWW-USF-Directory documentation Contained in the WWW-USF-Directory distribution.

Index


Code Index:

NAME

Top

WWW::USF::Directory::Exception::UnknownResponse - Exception object for unknown response.

VERSION

Top

Version 0.003

SYNOPSIS

Top

  use WWW::USF::Directory::Exception::UnknownResponse;

  WWW::USF::Directory::Exception::UnknownResponse->throw(
    message       => 'This response has no handler',
    ajax_response => $object,
  );

DESCRIPTION

Top

This is an exception class for exceptions where the directory will not return any results because the search was not specific enough in the WWW::USF::Directory library.

INHERITANCE

Top

This class inherits from the base class of WWW::USF::Directory::Exception and all attributes and methods in that class are also in this class.

ATTRIBUTES

Top

ajax_response

Required. This is the scalar that was returned by the AJAX request to the directory site.

METHODS

Top

This class does not contain any methods.

DEPENDENCIES

Top

* Moose 0.89
* MooseX::StrictConstructor 0.08
* WWW::USF::Directory::Exception
* namespace::clean 0.04

AUTHOR

Top

Douglas Christopher Wilson, <doug at somethingdoug.com>

BUGS AND LIMITATIONS

Top

Please report any bugs or feature requests to bug-www-usf-directory at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW::USF::Directory. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

I highly encourage the submission of bugs and enhancements to my modules.

LICENSE AND COPYRIGHT

Top


WWW-USF-Directory documentation Contained in the WWW-USF-Directory distribution.

package WWW::USF::Directory::Exception::UnknownResponse;

use 5.008001;
use strict;
use warnings 'all';

###########################################################################
# METADATA
our $AUTHORITY = 'cpan:DOUGDUDE';
our $VERSION   = '0.003';

###########################################################################
# MOOSE
use Moose 0.89;
use MooseX::StrictConstructor 0.08;

###########################################################################
# MOOSE TYPES
use MooseX::Types::Moose qw(
	Str
);

###########################################################################
# BASE CLASS
extends q{WWW::USF::Directory::Exception};

###########################################################################
# ALL IMPORTS BEFORE THIS WILL BE ERASED
use namespace::clean 0.04 -except => [qw(meta)];

###########################################################################
# ATTRIBUTES
has ajax_response => (
	is  => 'ro',
	isa => Str,

	documentation => q{The scalar returned by the JavaScript AJAX request},
	required      => 1,
);

###########################################################################
# MAKE MOOSE OBJECT IMMUTABLE
__PACKAGE__->meta->make_immutable;

1;

__END__