Azure.Storage.Errors
class Errors
Create exceptions for common error cases.
namespace Azure.Storage
{
internal class Errors
{
public static ArgumentException AccountMismatch(string accountNameCredential, string accountNameValue);
public static InvalidOperationException AccountSasMissingData();
public static ArgumentNullException ArgumentNull(string paramName);
public static ArgumentException InvalidArgument(string paramName);
public static ArgumentException InvalidResourceType(char s);
public static InvalidOperationException TaskIncomplete();
public static FormatException InvalidFormat(string err);
public static ArgumentException ParsingConnectionStringFailed();
public static ArgumentOutOfRangeException InvalidSasProtocol(string protocol, string sasProtocol);
public static ArgumentException InvalidService(char s);
public static ArgumentException InsufficientStorageTransferOptions(long streamLength, long statedMaxBlockSize, long necessaryMinBlockSize);
public static InvalidDataException HashMismatch(string hashHeaderName);
public static InvalidDataException ChecksumMismatch(ReadOnlySpan<byte> left, ReadOnlySpan<byte> right);
public static InvalidDataException HashMismatchOnStreamedDownload(string mismatchedRange);
public static ArgumentException PrecalculatedHashNotSupportedOnSplit();
public static ArgumentException CannotDeferTransactionalHashVerification();
public static ArgumentException CannotInitializeWriteStreamWithData();
public static void ThrowIfParamNull(object obj, string paramName);
public static CryptographicException CryptographyAuthTagMismatch();
public static ArgumentException CryptographyPlaintextCiphertextLengthMismatch();
public static ArgumentException CryptographyInvalidNonceLength();
public static ArgumentException CryptographyInvalidTagLength();
public Errors();
}
}