doap/source/doap/exceptions.d
Tristan B. Velloza Kildaire f7f928023d Packet
- Added `setTokenLength(ulong)` which returns `false` if the token length is above 15, else sets the token length (<=15) and returns `true`
- Added `setToken(ubyte[])` which sets the token (and length) and checks that the length is fine

Exceptions

- Added new exception time `CoapException`
2023-09-12 11:09:14 +02:00

9 lines
120 B
D

module doap.exceptions;
public class CoapException : Exception
{
this(string msg)
{
super(msg);
}
}