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.7.0

Yahoo! UI Library > yuitest > YAHOO.util.ShouldError
Search:
 
Filters

Class YAHOO.util.ShouldError - extends YAHOO.util.AssertionError

ShouldError is subclass of AssertionError that is thrown whenever a test is expected to throw an error but doesn't.

Constructor

YAHOO.util.ShouldError ( message )
Parameters:
message <String> The message to display when the error occurs.

Properties

name - String

The name of the error that occurred.

Properties inherited from YAHOO.util.AssertionError:


Copyright © 2009 Yahoo! Inc. All rights reserved.