From f78993ad22f555773bed35795121a06ec388b704 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 25 Sep 2023 14:08:37 +0200 Subject: [PATCH] RequestTimeoutException - Made publically accessible - Made constructor package-level accessible --- source/doap/client/exceptions.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/doap/client/exceptions.d b/source/doap/client/exceptions.d index 60a7ad2..b1bca78 100644 --- a/source/doap/client/exceptions.d +++ b/source/doap/client/exceptions.d @@ -14,7 +14,7 @@ public class CoapClientException : CoapException import doap.client.request : CoapRequestFuture; import std.conv : to; -package final class RequestTimeoutException : CoapClientException +public final class RequestTimeoutException : CoapClientException { /** * The future we timed out on @@ -35,7 +35,7 @@ package final class RequestTimeoutException : CoapClientException * timeout = the time duration timed out * on */ - this(CoapRequestFuture future, Duration timeout) + package this(CoapRequestFuture future, Duration timeout) { super("Timed out whilst waiting for "~to!(string)(future)~" after "~to!(string)(timeout)); this.future = future;