message: Cleaned up IndyException.FromSdkError.
diff: @@ -29,10 +29,9 @@ namespace Hyperledger.Indy
  /// <returns>An IndyException or subclass instance.</returns>
  internal static IndyException FromSdkError(int sdkErrorCode)
  {
  - if (!Enum.IsDefined(typeof(ErrorCode), sdkErrorCode))
  - return MakeExceptionForUnknownError(sdkErrorCode);
  + var errorCode = (ErrorCode)sdkErrorCode;
  - switch ((ErrorCode)sdkErrorCode)
  + switch (errorCode)
  {
  case ErrorCode.CommonInvalidParam1:
  case ErrorCode.CommonInvalidParam2:
  @@ -98,15 +97,10 @@ namespace Hyperledger.Indy
  case ErrorCode.SignusUnknownCryptoError:
  return new UnknownCryptoException();
  default:
  - return MakeExceptionForUnknownError(sdkErrorCode);
  - }
  - }
  -
  - private static IndyException MakeExceptionForUnknownError(int sdkErrorCode)
  - {
  var message = string.Format("An unmapped error with the code '{0}' was returned by the SDK.", sdkErrorCode);
  return new IndyException(message, sdkErrorCode);
  }
  + }
  /// <summary>
  /// Gets the error code for the exception.
  