<PackageReference Include="Azure.Storage.Common" Version="12.24.0" />

Errors

class Errors
Create exceptions for common error cases.
public Errors()

public static ArgumentException AccountMismatch(string accountNameCredential, string accountNameValue)

public static ArgumentNullException ArgumentNull(string paramName)

public static InvalidDataException ChecksumMismatch(ReadOnlySpan<byte> left, ReadOnlySpan<byte> right)

From https://github.com/dotnet/runtime/blob/032a7dcbe1056493e8bab51e6b5b9503de727273/src/libraries/System.Security.Cryptography/src/Resources/Strings.resx#L202

From https://github.com/dotnet/runtime/blob/032a7dcbe1056493e8bab51e6b5b9503de727273/src/libraries/System.Security.Cryptography/src/Resources/Strings.resx#L400

From https://github.com/dotnet/runtime/blob/032a7dcbe1056493e8bab51e6b5b9503de727273/src/libraries/System.Security.Cryptography/src/Resources/Strings.resx#L418

From https://github.com/dotnet/runtime/blob/032a7dcbe1056493e8bab51e6b5b9503de727273/src/libraries/System.Security.Cryptography/src/Resources/Strings.resx#L514

public static InvalidDataException HashMismatch(string hashHeaderName)

public static InvalidDataException HashMismatchOnStreamedDownload(string mismatchedRange)

public static ArgumentException InsufficientStorageTransferOptions(long streamLength, long statedMaxBlockSize, long necessaryMinBlockSize)

public static ArgumentException InvalidArgument(string paramName)

public static FormatException InvalidFormat(string err)

public static ArgumentException InvalidResourceType(char s)

public static ArgumentOutOfRangeException InvalidSasProtocol(string protocol, string sasProtocol)

public static ArgumentException InvalidService(char s)

public static void ThrowIfParamNull(object obj, string paramName)