MegaApiException
Ecng.Backup.Mega.Native
Exception thrown when MEGA API returns an error code.
Erbt von: InvalidOperationException
Konstruktoren
MegaApiException
public MegaApiException(int code)
megaApiException = MegaApiException(code)
Initializes a new instance of MegaApiException.
- code
- Raw MEGA API error code.
Eigenschaften
ErrorCode
public MegaErrorCode ErrorCode { get; }
value = megaApiException.ErrorCode
Parsed error code if it is a known MegaErrorCode value; otherwise Unknown.