perldoc > Test::Unit::Exception

📛 NAME

Test::Unit::Exception - unit testing framework exception class

🚀 Quick Reference

Use CaseCommandDescription
Catch assertion failureseval { $assert->assert(...) }; if ($@) { ... }Capture exceptions thrown by assertion methods
Subclass for custom errorsuse base 'Test::Unit::Exception';Extend the base class to create custom exception types

📋 SYNOPSIS

This class is not intended to be used directly

📖 DESCRIPTION

This class is used by the framework to communicate the result of assertions, which will throw an instance of a subclass of this class in case of errors or failures.

👤 AUTHOR

Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see Test::Unit or the AUTHORS file included in this distribution).

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

🔗 SEE ALSO

Test::Unit::Exception
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION 👤 AUTHOR 🔗 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-15 20:21 @216.73.216.208
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!