e-CryptIt Engine Xojo Plugin - Encodings Xojo Plugin |

# YEncDecoder.LastError Property (console safe)

This property returns the last error that occured.

LastError as Integer {Read}

#### Remarks

Error Codes

- 0 No Error.
- -1001 Source file was nil.
- -1002 Could not open source file.
- -1601 Destination Dir was nil.
- -1602 Could not open or create the destination file.
- -10001 Error looking for start of Yenc header.
- -10002 Error looking for a multipart header in a multipart file.
- -10011 CRC checksum did not match.
- -10016 DecodeFinish was called without having called DecodeStart successfully
  before.
- -10018 File size mismatch.
- -10021 Error looking for yEnc trailer.

  #### See Also

  YEncDecoder Class