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