# perldoc > Test::Unit::Failure

## NAME
    [Test::Unit::Failure](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3AFailure/markdown) - unit testing framework exception class

## 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 this class in case of failures (that is, failed tests, not syntax errors and the
    like, these are classified as errors).

## AUTHOR
    Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see [Test::Unit](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit/markdown) 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](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3AException/markdown)

    *   [Test::Unit::Assert](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3AAssert/markdown)

