@kayahr/assert
Preparing search index...
AssertionError
Class AssertionError
Thrown when an assertion fails.
Hierarchy
Error
AssertionError
Index
Constructors
constructor
Constructors
constructor
new
AssertionError
(
message
:
string
,
__namedParameters
?:
AssertionErrorOptions
,
)
:
AssertionError
Creates a new assertion error.
Parameters
message
:
string
The exception message.
__namedParameters
:
AssertionErrorOptions
= {}
Returns
AssertionError
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
@kayahr/assert
Loading...
Thrown when an assertion fails.