Exceptions

- Only allow the `libsnooze` package to construct a `SnoozeError`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-10 14:39:21 +02:00
parent 9add909256
commit 0763bc03dd
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module libsnooze.exceptions;
public class SnoozeError : Exception
{
this(string msg)
package this(string msg)
{
super(msg);
}