MegaApiException
Ecng.Backup.Mega.Native
Exception thrown when MEGA API returns an error code.
继承自: InvalidOperationException
构造函数
MegaApiException
public MegaApiException(int code)
megaApiException = MegaApiException(code)
Initializes a new instance of MegaApiException.
- code
- Raw MEGA API error code.
属性
ErrorCode
public MegaErrorCode ErrorCode { get; }
value = megaApiException.ErrorCode
Parsed error code if it is a known MegaErrorCode value; otherwise Unknown.