/runtime/error.d
D | 25 lines | 12 code | 5 blank | 8 comment | 0 complexity | 15bc3edb561981b6a2250eb5e66c8615 MD5 | raw file
- /*
- * error.d
- *
- * This module implements the base class for a non recoverable failure.
- *
- */
- module runtime.error;
- import runtime.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;
- }
- }