SnoozeError

- Documented the `SnoozeError` class and constructor
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-10 14:41:25 +02:00
parent cd26c0c0d4
commit 37a971654f
1 changed files with 10 additions and 0 deletions

View File

@ -3,8 +3,18 @@
*/
module libsnooze.exceptions;
/**
* The general libsnooze error type
*/
public class SnoozeError : Exception
{
/**
* Constructs a new `SnoozeError` with the provided
* error message
*
* Params:
* msg = the error message
*/
package this(string msg)
{
super(msg);