1
0

Implement ATTR function

This commit is contained in:
otya128
2016-12-04 17:27:51 +09:00
parent 8907277290
commit 19a20f7c5a
3 changed files with 94 additions and 41 deletions

View File

@@ -87,6 +87,11 @@ class OutOfRange : SmileBasicError
this.errnum = 10;
super("Out of range");
}
this(string func, int arg)
{
this.errnum = 10;
super("Out of range(" ~ func ~ ":" ~ arg.to!string ~ ")");
}
}
class OutOfDATA : SmileBasicError
{