# perldoc > Test::Unit::Exception

---
type: CommandReference
command: Test::Unit::Exception
mode: perldoc
section: ''
source: perldoc
---

## Quick Reference

- `Test::Unit::Exception` — base class for exceptions used by the framework to communicate assertion results.

## Name

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

## Synopsis

text
This class is not intended to be used directly
## Description

This class is used by the framework to communicate the result of assertions. Subclasses of this class are thrown in case of errors or failures.

## See Also

- [Test::Unit::Assert](http://localhost/phpMan.php/perldoc/Test%3A%3AUnit%3A%3AAssert/markdown)
- [Test::Unit::Error](http://localhost/phpMan.php/perldoc/Test%3A%3AUnit%3A%3AError/markdown)
- [Test::Unit::Failure](http://localhost/phpMan.php/perldoc/Test%3A%3AUnit%3A%3AFailure/markdown)