| Net-SAJAX documentation | Contained in the Net-SAJAX distribution. |
Net::SAJAX::Exception::JavaScriptConversion - Exception object for exceptions that occur when converting JavaScript objects.
This documentation refers to Net::SAJAX::Exception::JavaScriptConversion version 0.106
use Net::SAJAX::Exception::JavaScriptConversion;
Net::SAJAX::Exception::JavaScriptEvaluation->throw(
message => 'This is some error message',
javascript_object => $native_js_object,
);
This is an exception class for exceptions that occur during conversion of JavaScript objects in the Net::SAJAX library.
This class inherits from the base class of Net::SAJAX::Exception and all attributes and methods in that class are also in this class.
Required. This is a native JavaScript object from JE that was unable to be converted to a native Perl object.
This class does not contain any methods.
Douglas Christopher Wilson, <doug at somethingdoug.com>
Please report any bugs or feature requests to bug-net-sajax at rt.cpan.org,
or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-SAJAX.
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.
Copyright 2009 Douglas Christopher Wilson.
This program is free software; you can redistribute it and/or modify it under the terms of either:
| Net-SAJAX documentation | Contained in the Net-SAJAX distribution. |
package Net::SAJAX::Exception::JavaScriptConversion; use 5.008003; use strict; use warnings 'all'; ############################################################################### # METADATA our $AUTHORITY = 'cpan:DOUGDUDE'; our $VERSION = '0.106'; ############################################################################### # MOOSE use Moose 0.77; use MooseX::StrictConstructor 0.08; ############################################################################### # BASE CLASS extends q{Net::SAJAX::Exception}; ############################################################################### # ALL IMPORTS BEFORE THIS WILL BE ERASED use namespace::clean 0.04 -except => [qw(meta)]; ############################################################################### # ATTRIBUTES has javascript_object => ( is => 'ro', documentation => q{The JavaScript object that could not be converted}, required => 1, ); ############################################################################### # MAKE MOOSE OBJECT IMMUTABLE __PACKAGE__->meta->make_immutable; 1; __END__