-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
chore: improve errors
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace WalletConnectSharp.Common.Model.Errors; | ||
|
||
public class ExpiredException : Exception | ||
{ | ||
public ExpiredException() | ||
{ | ||
} | ||
|
||
public ExpiredException(string message) | ||
: base(message) | ||
{ | ||
} | ||
|
||
public ExpiredException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
|
||
protected ExpiredException(SerializationInfo info, StreamingContext context) | ||
: base(info, context) | ||
Check warning on line 22 in Core Modules/WalletConnectSharp.Common/Model/Errors/ExpiredException.cs GitHub Actions / build
Check warning on line 22 in Core Modules/WalletConnectSharp.Common/Model/Errors/ExpiredException.cs GitHub Actions / test (unit-tests)
Check warning on line 22 in Core Modules/WalletConnectSharp.Common/Model/Errors/ExpiredException.cs GitHub Actions / test (integration-tests)
|
||
{ | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace WalletConnectSharp.Common.Model.Errors; | ||
|
||
public class NamespacesException : Exception | ||
{ | ||
public NamespacesException() | ||
{ | ||
} | ||
|
||
public NamespacesException(string message) | ||
: base(message) | ||
{ | ||
} | ||
|
||
public NamespacesException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
|
||
protected NamespacesException(SerializationInfo info, StreamingContext context) | ||
: base(info, context) | ||
Check warning on line 22 in Core Modules/WalletConnectSharp.Common/Model/Errors/NamespacesException.cs GitHub Actions / build
Check warning on line 22 in Core Modules/WalletConnectSharp.Common/Model/Errors/NamespacesException.cs GitHub Actions / test (unit-tests)
Check warning on line 22 in Core Modules/WalletConnectSharp.Common/Model/Errors/NamespacesException.cs GitHub Actions / test (integration-tests)
|
||
{ | ||
} | ||
} |