/runtimes/mindrt/error.d
D | 27 lines | 12 code | 5 blank | 10 comment | 0 complexity | a8592aa89cfe13c64196aff39e4ba680 MD5 | raw file
Possible License(s): WTFPL
- /*
- * error.d
- *
- * This module implements the base class for a non recoverable failure.
- *
- * License: Public Domain
- *
- */
- module mindrt.error;
- import mindrt.exception;
- // Description: This is for a non irrecoverable failure.
- class Error : Exception {
- Error next;
- // Description: This will provide a descriptive message.
- this(char[] msg) {
- super(msg);
- }
- this(char[] msg, Error next) {
- super(msg);
- this.next = next;
- }
- }