mirror of https://github.com/deavmi/libsnooze
SnoozeError
- Documented the `SnoozeError` class and constructor
This commit is contained in:
parent
cd26c0c0d4
commit
37a971654f
|
@ -3,8 +3,18 @@
|
||||||
*/
|
*/
|
||||||
module libsnooze.exceptions;
|
module libsnooze.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The general libsnooze error type
|
||||||
|
*/
|
||||||
public class SnoozeError : Exception
|
public class SnoozeError : Exception
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Constructs a new `SnoozeError` with the provided
|
||||||
|
* error message
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* msg = the error message
|
||||||
|
*/
|
||||||
package this(string msg)
|
package this(string msg)
|
||||||
{
|
{
|
||||||
super(msg);
|
super(msg);
|
||||||
|
|
Loading…
Reference in New Issue