#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# Test.ShouldError Class

Extends AssertionError
Defined in: `test/js/ShouldError.js:1`
Module: test

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

- Index
- Properties

## Item Index

### Properties

- name

## Properties

### `name`

String

Defined in `test/js/ShouldError.js:17`

The name of the error that occurred.