SCMError

public enum SCMError : Error

Error enumeration used in the library

  • Occurs when client fails to parse received JSON

    Declaration

    Swift

    case jsonParseError
  • Occurs when thr request didn’t go through

    Declaration

    Swift

    case httpRequestError
  • Occurs when requested object was not found

    Declaration

    Swift

    case objectNotFoundError
  • Unexpected behavior

    Declaration

    Swift

    case otherApiError
  • Occurs when server is unable to provide the file

    Declaration

    Swift

    case serverFileError