Errors
class Errors
Create exceptions for common error cases.
public Errors()
public static ArgumentException AccountMismatch(string accountNameCredential, string accountNameValue)
public static InvalidDataException ChecksumMismatch(ReadOnlySpan<byte> left, ReadOnlySpan<byte> right)
public static RequestFailedException ClientRequestIdMismatch(Response response, string echo, string original)
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 ArgumentException InsufficientStorageTransferOptions(long streamLength, long statedMaxBlockSize, long necessaryMinBlockSize)
public static ArgumentOutOfRangeException MustBeBetweenInclusive(string paramName, long lower, long upper, long actual)
public static ArgumentOutOfRangeException MustBeGreaterThanValueOrEqualToOtherValue(string paramName, long value0, long value1)
public static InvalidOperationException SasBuilderEmptyParam(string builderName, string paramName, string sasType)
public static InvalidOperationException SasDataNotAllowed(string paramName, string paramNameNotAllowed)
public static InvalidOperationException SasIncorrectResourceType(string builderName, string builderParam, string value, string clientName)
public static InvalidOperationException SasNamesNotMatching(string builderParam, string builderName, string clientParam)
public static InvalidOperationException SasNamesNotMatching(string builderParam, string builderName)
public static InvalidOperationException SasServiceNotMatching(string builderParam, string builderName, string expectedService)
public static ArgumentException SeekOutsideBufferRange(long index, long inclusiveRangeStart, long exclusiveRangeEnd)