mirror of https://github.com/deavmi/libsnooze
Exceptions
- Only allow the `libsnooze` package to construct a `SnoozeError`
This commit is contained in:
parent
9add909256
commit
0763bc03dd
|
@ -2,7 +2,7 @@ module libsnooze.exceptions;
|
|||
|
||||
public class SnoozeError : Exception
|
||||
{
|
||||
this(string msg)
|
||||
package this(string msg)
|
||||
{
|
||||
super(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue