API Reference

AssertionErrorclass

Thrown when Assertion.assert(...) fails.

Quick facts
Kind
class
Base class
CustomError
Members
1
Package
@rs-x/core

Import

import { AssertionError } from '@rs-x/core';

Example

import { AssertionError } from '@rs-x/core';

const instance = new AssertionError(...args);

Members

1 member in this class.

constructor
constructorpublic
constructor(message: string)

Parameters

Name
Type
Required
message
string
required