diff --git a/CryptoExchange.Net/Objects/Error.cs b/CryptoExchange.Net/Objects/Error.cs
index d894f325..d64d887e 100644
--- a/CryptoExchange.Net/Objects/Error.cs
+++ b/CryptoExchange.Net/Objects/Error.cs
@@ -130,7 +130,7 @@ namespace CryptoExchange.Net.Objects
///
/// Default error info
///
- protected static readonly ErrorInfo _errorInfo = new ErrorInfo(ErrorType.MissingCredentials, false,
+ protected static readonly ErrorInfo _errorInfo = new ErrorInfo(ErrorType.MissingCredentials, false,
"No credentials provided for private endpoint, set the `ApiCredentials` option in the client configuration");
///
@@ -138,6 +138,11 @@ namespace CryptoExchange.Net.Objects
///
public NoApiCredentialsError() : base(null, _errorInfo, null) { }
+ ///
+ /// ctor
+ ///
+ public NoApiCredentialsError(string message) : base(null, _errorInfo with { Message = message }, null) { }
+
///
/// ctor
///