mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
[PM-22263] Integate Rust SDK to Seeder (#6150)
Adds a Rust SDK for performing seed related cryptograhic operations. It depends on internal portions of our Rust SDK. Primarily parts of the bitwarden-crypto crate.
This commit is contained in:
19
util/RustSdk/RustSdkException.cs
Normal file
19
util/RustSdk/RustSdkException.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Bit.RustSDK;
|
||||
|
||||
/// <summary>
|
||||
/// Exception thrown when the Rust SDK operations fail
|
||||
/// </summary>
|
||||
public class RustSdkException : Exception
|
||||
{
|
||||
public RustSdkException() : base("An error occurred in the Rust SDK operation")
|
||||
{
|
||||
}
|
||||
|
||||
public RustSdkException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public RustSdkException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user