Skip to content

Instantly share code, notes, and snippets.

View dandjelkovic's full-sized avatar

Dali Andjelkovic dandjelkovic

  • @RedAndroidIo
  • Nuremberg, Germany
  • X @derDali
View GitHub Profile
@dandjelkovic
dandjelkovic / AFError.errorCodes.txt
Last active January 20, 2023 05:01
AlamoFire AFError error codes and their enum case. Helpful for mapping e.g. Crashlytics Issues.
AFError.errorCode 0:
createUploadableFailed(error: Error)
AFError.errorCode 1:
createURLRequestFailed(error: Error)
AFError.errorCode 2:
downloadedFileMoveFailed(error: Error, source: URL, destination: URL)
AFError.errorCode 3:
while [ 1 ];do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S); screencapture -x ~/Downloads/Desktop-Screenshots/$vardate.jpg; sleep 10; done