YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Yahoo! UI Library

yuitest  2.4.0

Yahoo! UI Library > yuitest > YAHOO.util.UnexpectedError

Show Private Show Protected

Class YAHOO.util.UnexpectedError - extends YAHOO.util.AssertionError

UnexpectedError is subclass of AssertionError that is thrown whenever an error occurs within the course of a test and the test was not expected to throw an error.


YAHOO.util.UnexpectedError ( cause )
cause <Error> The unexpected error that caused this error to be thrown.


cause - Error

The unexpected error that occurred.

name - String

The name of the error that occurred.

Properties inherited from YAHOO.util.AssertionError:

Copyright © 2007 Yahoo! Inc. All rights reserved.