VeniceError

public enum VeniceError : Error, Equatable

Venice operation error

  • Thrown when the operation is performed within a canceled coroutine.

    Declaration

    Swift

    case canceledCoroutine
  • Thrown when the operation is performed on an invalid file descriptor.

    Declaration

    Swift

    case canceledChannel
  • Thrown when another coroutine is already blocked on poll with this file descriptor.

    Declaration

    Swift

    case invalidFileDescriptor
  • Thrown when the operation times out.

    Declaration

    Swift

    case timeout
  • Thrown when the system doesn’t have enough memory to perform the operation.

    Declaration

    Swift

    case outOfMemory
  • Thrown when the operation is performed on an done channel.

    Declaration

    Swift

    case channelIsDone
  • Thrown when an unexpected error occurs. This should never happen in the regular flow of an application.

    Declaration

    Swift

    case unexpectedError