AssertError

Summary

Represents an assertion error.

Description

Represents an assertion error.

Examples

Basic Usage
1
2
3
4
5
6
7
8
9
10
import System;
import System.Assert;
import System.Errors;
 
try {
    assert(1 == 0);
}
catch(AssertError e) {
    Console.error(e);
}

Methods

Share

HTML | BBCode | Direct Link