~eda-qa/dhlib/main

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* <license>
 * This file is part of the dis-Emi-A HaXe Library. Copyright (c) edA-qa mort-ora-y
 * For full copyright and license information please refer to doc/license.txt.
 * </license> 
 */

class TypingError extends SyntaxError
{
	var msg : String;
	
	public function new( ?msg : String )
	{
		super();
		this.msg = msg;
	}

	/*virtual*/ public function toString() : String 
	{
		return msg == null ? "unspecified type error" : msg;
	}
}