WacResourceError

public enum WacResourceError: Error

Represents an error when tries to create/read/update/delete a resource like Contact or Chat

  • resourceNotFound: Resource is trying to modify/create not exist
  • forbidden: User is not allow to modify this resource
  • internalError: Internal error
  • Declaration

    Swift

    case forbidden(resource: String)
  • Declaration

    Swift

    case internalError(description: String)
  • Declaration

    Swift

    case notAllowed(action: String)
  • Declaration

    Swift

    case timeout